mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
8 lines
338 B
Python
8 lines
338 B
Python
def add_treeherder_revision_info(task, revision, revision_hash):
|
|
# Only add treeherder information if task.extra.treeherder is present
|
|
if 'extra' not in task and 'treeherder' not in task.extra:
|
|
return
|
|
|
|
task['extra']['treeherder']['revision'] = revision
|
|
task['extra']['treeherder']['revision_hash'] = revision_hash
|