mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
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
This commit is contained in:
parent
2ad1ae41e9
commit
3e288f4b2c
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user