From 34cc630733ecd7e6df4b2e80804f6951adb6f45d Mon Sep 17 00:00:00 2001 From: "Carsten \"Tomcat\" Book" Date: Fri, 12 May 2017 15:59:26 +0200 Subject: [PATCH] Backed out changeset fd1f5c916045 (bug 1340564) --HG-- extra : rebase_source : 91d148347dff80de173af7a5029cab0de38b9b24 --- taskcluster/taskgraph/action.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/taskcluster/taskgraph/action.py b/taskcluster/taskgraph/action.py index a9c3246d2b2c..da8ccfa7466d 100644 --- a/taskcluster/taskgraph/action.py +++ b/taskcluster/taskgraph/action.py @@ -98,10 +98,7 @@ def add_talos(decision_task_id, times=1): * Adding all talos jobs to a push. """ full_task_json = get_artifact(decision_task_id, "public/full-task-graph.json") - task_labels = [ - label for label, task in full_task_json.iteritems() - if "talos_try_name" in task['attributes'] - ] + task_labels = [label for label in full_task_json if "talos" in label] for time in xrange(times): add_tasks(decision_task_id, task_labels, '{}-'.format(time))