Bug 1280231: refactor task kinds to task classes; r=jonasfj

MozReview-Commit-ID: 1cNukxBgfey
This commit is contained in:
Dustin J. Mitchell
2016-06-20 20:45:15 +00:00
parent dc0b0e2e0a
commit c27fdb1128
18 changed files with 201 additions and 194 deletions

View File

@@ -88,7 +88,7 @@ def annotate_task_graph(target_task_graph, do_not_optimize, named_links_dict, la
optimized = False
# otherwise, examine the task itself (which may be an expensive operation)
else:
optimized, replacement_task_id = task.kind.optimize_task(task, named_task_dependencies)
optimized, replacement_task_id = task.optimize()
task.optimized = optimized
task.task_id = replacement_task_id