зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1655499 - [taskgraph] Decode slugid to text in create_task, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D85031
This commit is contained in:
Родитель
52cf21c3ec
Коммит
7a6078f5fb
|
@ -89,7 +89,7 @@ def create_tasks(graph_config, taskgraph, label_to_taskid, params, decision_task
|
|||
attributes = taskgraph.tasks[task_id].attributes
|
||||
for i in range(1, attributes.get('task_duplicates', 1)):
|
||||
# We use slugid() since we want a distinct task id
|
||||
submit(slugid(), taskid_to_label[task_id], task_def)
|
||||
submit(slugid().decode("ascii"), taskid_to_label[task_id], task_def)
|
||||
tasklist.difference_update(to_remove)
|
||||
|
||||
# as each of those futures complete, try to schedule more tasks
|
||||
|
|
Загрузка…
Ссылка в новой задаче