diff --git a/datastore/api/tasks.py b/datastore/api/tasks.py index 164b4bc2c861..e200d9cbac79 100644 --- a/datastore/api/tasks.py +++ b/datastore/api/tasks.py @@ -111,7 +111,7 @@ def list_command(client, args): def delete_command(client, args): """Deletes a task.""" - mark_done(client, args.task_id) + delete_task(client, args.task_id) print('Task {} deleted.'.format(args.task_id))