From 3e288f4b2c814501d8cf73ebc955d88df667451d Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 1 Feb 2017 12:37:53 -0500 Subject: [PATCH] Bug 1335815 - Get the attributes from the intended parameter instead of accidentally getting it from the parent. r=dustin MozReview-Commit-ID: Iz3Da3EtYVU --HG-- extra : rebase_source : 3a4e5cb8fc91385510f195510c67e45546cd96ca --- taskcluster/taskgraph/target_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskcluster/taskgraph/target_tasks.py b/taskcluster/taskgraph/target_tasks.py index 40401c854674..abce8ee184d4 100644 --- a/taskcluster/taskgraph/target_tasks.py +++ b/taskcluster/taskgraph/target_tasks.py @@ -68,7 +68,7 @@ def target_tasks_default(full_task_graph, parameters): """Target the tasks which have indicated they should be run on this project via the `run_on_projects` attributes.""" def filter(task): - run_on_projects = set(t.attributes.get('run_on_projects', [])) + run_on_projects = set(task.attributes.get('run_on_projects', [])) if 'all' in run_on_projects: return True project = parameters['project']