Bug 1532783: [taskgraph] Fix lint error.
authorTom Prince <mozilla@hocat.ca>
Tue, 30 Apr 2019 23:07:20 +0000
changeset 530847 96a1f7afe8ae7bef2ab0b9968d940987616d639f
parent 530846 49006e43876fad11314265a580e41a18f744388e
child 530848 3c032a4347fa713fbb0565ca78fd3038c5edd95a
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1532783
milestone68.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 1532783: [taskgraph] Fix lint error. Differential Revision: https://phabricator.services.mozilla.com/D29438
taskcluster/taskgraph/transforms/job/mozharness.py
--- a/taskcluster/taskgraph/transforms/job/mozharness.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness.py
@@ -240,17 +240,19 @@ def mozharness_on_docker_worker_setup(co
     ]
 
     worker['command'] = command
 
 
 @run_job_using("generic-worker", "mozharness", schema=mozharness_run_schema,
                defaults=mozharness_defaults)
 def mozharness_on_generic_worker(config, job, taskdesc):
-    assert job['worker']['os'] == 'windows', 'only supports windows right now: {}'.format(job['label'])
+    assert (
+        job["worker"]["os"] == "windows"
+    ), "only supports windows right now: {}".format(job["label"])
 
     run = job['run']
 
     # fail if invalid run options are included
     invalid = []
     for prop in ['tooltool-downloads', 'taskcluster-proxy', 'need-xvfb']:
         if prop in run and run[prop]:
             invalid.append(prop)