Bug 1421036: Display task labels by default when running mach taskgraph optimized; r=dustin

MozReview-Commit-ID: 4sMl5a02NCE
This commit is contained in:
Tom Prince
2017-11-27 13:26:14 -07:00
parent 5fa6289be8
commit 160af2aea5

View File

@@ -336,8 +336,8 @@ class MachCommands(MachCommandBase):
sys.exit(1)
def show_taskgraph_labels(self, taskgraph):
for label in taskgraph.graph.visit_postorder():
print(label)
for index in taskgraph.graph.visit_postorder():
print(taskgraph.tasks[index].label)
def show_taskgraph_json(self, taskgraph):
print(json.dumps(taskgraph.to_json(),