Optimize code (tasks list initialization, task verification)
@@ -175,10 +175,8 @@ def main():
result = True
- tasks = []
if options.task == 'all':
- for task in TASKS:
- tasks.append(task)
+ tasks = TASKS.keys()
else:
tasks = options.task.split(',')
