No bug: [taskgrah] Fix mach taskgraph full --tasks <...> on python 3; r=Callek DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D85895
This commit is contained in:
@@ -12,6 +12,7 @@ import json
|
||||
import logging
|
||||
import os
|
||||
from six import text_type
|
||||
import six
|
||||
import sys
|
||||
import traceback
|
||||
import re
|
||||
@@ -389,7 +390,7 @@ class MachCommands(MachCommandBase):
|
||||
task = taskgraph.tasks[key]
|
||||
if regexprogram.match(task.label):
|
||||
filteredtasks[key] = task
|
||||
for depname, dep in named_links_dict[key].iteritems():
|
||||
for depname, dep in six.iteritems(named_links_dict[key]):
|
||||
if regexprogram.match(dep):
|
||||
filterededges.add((key, dep, depname))
|
||||
filtered_taskgraph = TaskGraph(filteredtasks, Graph(set(filteredtasks), filterededges))
|
||||
|
||||
Reference in New Issue
Block a user