Bug 1280356 - Allow tc tests to define extra.treeherder.machine; r=dustin

This commit is contained in:
Geoff Brown 2016-06-20 11:39:39 -06:00
parent c6ce2eb18b
commit 61ac3282b4

View File

@ -116,8 +116,9 @@ def configure_dependent_task(task_path, parameters, taskid, templates, build_tre
treeherder_config['build'] = \
build_treeherder_config.get('build', {})
treeherder_config['machine'] = \
build_treeherder_config.get('machine', {})
if 'machine' not in treeherder_config:
treeherder_config['machine'] = \
build_treeherder_config.get('machine', {})
if 'routes' not in task['task']:
task['task']['routes'] = []