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:
Andrew Halberstadt 2020-07-27 18:52:22 +00:00
Родитель 52cf21c3ec
Коммит 7a6078f5fb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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