Bug 1501048 - remove bogus code; r=bstack
authorDustin J. Mitchell <dustin@mozilla.com>
Mon, 22 Oct 2018 19:58:40 +0000
changeset 490722 6fcb74d1393cd5f6524e19a3b71208cf35ac5ec2
parent 490721 540bd4c32be5831ae94a1db1a437d2d8eea04647
child 490723 1bd4af34fe10ac308ace2115f21fbfa6f90a5747
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersbstack
bugs1501048
milestone65.0a1
Bug 1501048 - remove bogus code; r=bstack This was likely the result of a merge error. The code is not needed, and anyway appears before a docstring.
taskcluster/taskgraph/actions/retrigger.py
--- a/taskcluster/taskgraph/actions/retrigger.py
+++ b/taskcluster/taskgraph/actions/retrigger.py
@@ -34,18 +34,16 @@ logger = logging.getLogger(__name__)
     order=11,
     context=[
         {'kind': 'decision-task'},
         {'kind': 'action-callback'},
         {'kind': 'cron-task'},
     ],
 )
 def retrigger_decision_action(parameters, graph_config, input, task_group_id, task_id, task):
-    decision_task_id, full_task_graph, label_to_taskid = fetch_graph_and_labels(
-        parameters, graph_config)
     """For a single task, we try to just run exactly the same task once more.
     It's quite possible that we don't have the scopes to do so (especially for
     an action), but this is best-effort."""
 
     # make all of the timestamps relative; they will then be turned back into
     # absolute timestamps relative to the current time.
     task = relativize_datestamps(task)
     create_task_from_def(slugid(), task, parameters['level'])