Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Fix adding right deb repo based on the distro we are running on"
[yardstick.git]
/
api
/
resources
/
v2
/
tasks.py
diff --git
a/api/resources/v2/tasks.py
b/api/resources/v2/tasks.py
index
b64f5ef
..
885a190
100644
(file)
--- a/
api/resources/v2/tasks.py
+++ b/
api/resources/v2/tasks.py
@@
-114,7
+114,8
@@
class V2Task(ApiResource):
if project.tasks:
LOG.info('update tasks in project')
- new_task_list = project.tasks.split(',').remove(task_id)
+ new_task_list = project.tasks.split(',')
+ new_task_list.remove(task_id)
if new_task_list:
new_tasks = ','.join(new_task_list)
else: