Bug 1343107 - Fix linter failures r=nthomas a=release
authorRail Aliiev <rail@mozilla.com>
Thu, 02 Mar 2017 22:40:09 -0500
changeset 345706 7217c21ffbc2479d396d4e38b795366d938835d2
parent 345705 72c4674f95b7884b745d5a0bfcf5dcdc6fb0a8c1
child 345707 60be4c3bdc769cf73e4de110817dbb98479ead7d
push id31443
push usercbook@mozilla.com
push dateFri, 03 Mar 2017 12:01:25 +0000
treeherdermozilla-central@31c09bb63b69 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnthomas, release
bugs1343107
milestone54.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 1343107 - Fix linter failures r=nthomas a=release MozReview-Commit-ID: B0Z81CkOtIq
taskcluster/docker/funsize-balrog-submitter/scripts/funsize-balrog-submitter.py
taskcluster/docker/funsize-update-generator/scripts/funsize.py
--- a/taskcluster/docker/funsize-balrog-submitter/scripts/funsize-balrog-submitter.py
+++ b/taskcluster/docker/funsize-balrog-submitter/scripts/funsize-balrog-submitter.py
@@ -1,15 +1,14 @@
 #!/usr/bin/env python
 import site
 import os
 import logging
 import argparse
 import json
-import sys
 import hashlib
 import requests
 import tempfile
 from boto.s3.connection import S3Connection
 from mardor.marfile import MarFile
 
 site.addsitedir("/home/worker/tools/lib/python")
 
--- a/taskcluster/docker/funsize-update-generator/scripts/funsize.py
+++ b/taskcluster/docker/funsize-update-generator/scripts/funsize.py
@@ -183,18 +183,18 @@ def main():
     task = json.load(args.task_definition)
     # TODO: verify task["extra"]["funsize"]["partials"] with jsonschema
 
     if args.no_freshclam:
         log.info("Skipping freshclam")
     else:
         log.info("Refreshing clamav db...")
         try:
-            redo.retry(lambda:
-                    sh.freshclam("--stdout", "--verbose", _timeout=300, _err_to_out=True))
+            redo.retry(lambda: sh.freshclam("--stdout", "--verbose",
+                                            _timeout=300, _err_to_out=True))
             log.info("Done.")
         except sh.ErrorReturnCode:
             log.warning("Freshclam failed, skipping DB update")
     manifest = []
     for e in task["extra"]["funsize"]["partials"]:
         for mar in (e["from_mar"], e["to_mar"]):
             verify_allowed_url(mar)