Bug 1428585 - Fixup flake8 error, r=me ON A CLOSED TREE
authorJames Graham <james@hoppipolla.co.uk>
Tue, 09 Jan 2018 15:40:51 +0000
changeset 452680 83bfdce958e7de595edd901f1c60686127ca22e9
parent 452679 21c347b469e76a6ab4a1cb328248fc560ceab6c8
child 452681 73a05a0385481c6a69083f0f871625ce6a8712d4
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1428585
milestone59.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 1428585 - Fixup flake8 error, r=me ON A CLOSED TREE MozReview-Commit-ID: HbmZzerSQUd
tools/lint/wpt/wpt.py
--- a/tools/lint/wpt/wpt.py
+++ b/tools/lint/wpt/wpt.py
@@ -24,17 +24,18 @@ def lint(files, config, **kwargs):
             data = json.loads(line)
         except ValueError:
             return
         data["level"] = "error"
         data["path"] = os.path.relpath(os.path.join(tests_dir, data["path"]), kwargs['root'])
         results.append(result.from_config(config, **data))
 
     if files == [tests_dir]:
-        print >> sys.stderr, "No specific files specified, running the full wpt lint (this is slow)"
+        print >> sys.stderr, ("No specific files specified, running the full wpt lint"
+                              " (this is slow)")
         files = ["--all"]
     cmd = [os.path.join(tests_dir, 'wpt'), 'lint', '--json'] + files
     if platform.system() == 'Windows':
         cmd.insert(0, sys.executable)
 
     proc = ProcessHandler(cmd, env=os.environ, processOutputLine=process_line)
     proc.run()
     try: