diff --git a/taskcluster/gecko_taskgraph/decision.py b/taskcluster/gecko_taskgraph/decision.py index 1d47b35bc406..b23e60bb316b 100644 --- a/taskcluster/gecko_taskgraph/decision.py +++ b/taskcluster/gecko_taskgraph/decision.py @@ -13,7 +13,8 @@ from collections import defaultdict import yaml from redo import retry -from taskgraph.create import create_tasks, testing +from taskgraph import create +from taskgraph.create import create_tasks from taskgraph.decision import ( # TODO: Let standalone taskgraph generate parameters instead # of calling internals @@ -217,7 +218,7 @@ def taskgraph_decision(options, parameters=None): write_artifacts=True, ) - if not testing: + if not create.testing: # set additional index paths for the decision task set_decision_indexes(decision_task_id, tgg.parameters, tgg.graph_config)