Bug 1471905: [taskgraph] Fix some typos in docker image transform; r=dustin
authorTom Prince <mozilla@hocat.ca>
Sat, 17 Nov 2018 03:49:01 +0000
changeset 507758 8953bab8246cf93cae049279a380a70f0de87264
parent 507757 ea6a0c8d3bb57d8c8c8aceae3c743db461ddd68f
child 507759 aa145dd45f48ccc1989e0265897fcc1e99074072
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1471905
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1471905: [taskgraph] Fix some typos in docker image transform; r=dustin Differential Revision: https://phabricator.services.mozilla.com/D12063
taskcluster/taskgraph/transforms/docker_image.py
--- a/taskcluster/taskgraph/transforms/docker_image.py
+++ b/taskcluster/taskgraph/transforms/docker_image.py
@@ -64,17 +64,17 @@ def order_image_tasks(config, tasks):
     while True:
         try:
             task = pending.popleft()
         except IndexError:
             break
         parent = task.get('parent')
         if parent and parent not in emitted:
             if parent not in task_names:
-                raise Exception('Missing parant image for {}-{}: {}'.format(
+                raise Exception('Missing parent image for {}-{}: {}'.format(
                     config.kind, task['name'], parent))
             pending.append(task)
             continue
         emitted.add(task['name'])
         yield task
 
 
 @transforms.add
@@ -219,17 +219,17 @@ def fill_template(config, tasks):
             for p in sorted(packages):
                 deps[p] = 'packages-{}'.format(p)
                 digest_data.append(available_packages[p])
 
         if parent:
             deps = taskdesc.setdefault('dependencies', {})
             deps[parent] = 'build-docker-image-{}'.format(parent)
             worker['env']['DOCKER_IMAGE_PARENT_TASK'] = {
-                'task-reference': '<{}>'.format(parent)
+                'task-reference': '<{}>'.format(parent),
             }
 
         if len(digest_data) > 1:
             kwargs = {'digest_data': digest_data}
         else:
             kwargs = {'digest': digest_data[0]}
         add_optimization(
             config, taskdesc,