Bug 1362828 - mozboot: Fix clang package download message. r=froydnj
authorChris Peterson <cpeterson@mozilla.com>
Sun, 07 May 2017 00:54:14 -0700
changeset 357070 3655533be7c7a54ee2f9b98d247a7af2cac1321a
parent 357069 f13ecab9206eec7e8cf806e4be39124ff59451f2
child 357071 709528f44f789e33698e8793413643ca584afbef
push id31781
push userkwierso@gmail.com
push dateMon, 08 May 2017 20:44:15 +0000
treeherdermozilla-central@e0955584782e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1362828
milestone55.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 1362828 - mozboot: Fix clang package download message. r=froydnj The Python print() function's does not take a format string, so the extraneous %s here inadvertently prints "Downloading clang package from %s https://..." instead of "Downloading clang package from https://...". MozReview-Commit-ID: 5Is5TK3X34e
python/mozboot/mozboot/base.py
--- a/python/mozboot/mozboot/base.py
+++ b/python/mozboot/mozboot/base.py
@@ -284,17 +284,17 @@ class BaseBootstrapper(object):
             if e.errno == errno.EEXIST and os.path.isdir(download_path):
                 pass
             else:
                 raise
 
         try:
             package_url = TOOLTOOL_API + package_sha512sum
             downloaded_filename = os.path.join(download_path, package_sha512sum)
-            print('Downloading clang package from %s', package_url)
+            print('Downloading clang package from', package_url)
             self.http_download_and_save(package_url, downloaded_filename,
                                         package_sha512sum, 'sha512')
 
             # We don't have to handle a great variety of archive types here.
             if package_filename.endswith('tar.gz'):
                 cmd = ['tar', 'zxf', downloaded_filename]
             elif package_filename.endswith('.tar.bz2'):
                 cmd = ['tar', 'jxf', downloaded_filename]