Bug 1528109 [wpt PR 15363] - Correct format string in logging messages, a=testonly
authorjugglinmike <mike@mikepennisi.com>
Tue, 05 Mar 2019 11:12:08 +0000
changeset 522418 7ef3ea73361d89af4b57f70f0710acb2a263ad69
parent 522417 ba63a52c10157ccfeec051a6aef6c21c1b87babb
child 522419 e10cfd0d9d60429e61c583a7e4a326962420161a
push id10871
push usercbrindusan@mozilla.com
push dateMon, 18 Mar 2019 15:49:32 +0000
treeherdermozilla-beta@018abdd16060 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1528109, 15363
milestone67.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 1528109 [wpt PR 15363] - Correct format string in logging messages, a=testonly Automatic update from web-platform-tests Correct format string in logging messages (#15363) -- wpt-commits: c18a2a49589f9cac44270f2daee298a79989951c wpt-pr: 15363
testing/web-platform/tests/tools/wpt/browser.py
--- a/testing/web-platform/tests/tools/wpt/browser.py
+++ b/testing/web-platform/tests/tools/wpt/browser.py
@@ -464,17 +464,17 @@ class Chrome(Browser):
         if uname[0] != "Windows":
             try:
                 version_string = call(binary, "--version").strip()
             except subprocess.CalledProcessError:
                 self.logger.warning("Failed to call %s", binary)
                 return None
             m = re.match(r"Google Chrome (.*)", version_string)
             if not m:
-                self.logger.warning("Failed to extract version from: s%", version_string)
+                self.logger.warning("Failed to extract version from: %s", version_string)
                 return None
             return m.group(1)
         self.logger.warning("Unable to extract version from binary on Windows.")
         return None
 
 
 class ChromeAndroid(Browser):
     """Chrome-specific interface for Android.
@@ -663,17 +663,17 @@ class Safari(Browser):
         # The `--version` flag was added in STP 67, so allow the call to fail.
         try:
             version_string = call(webdriver_binary, "--version").strip()
         except subprocess.CalledProcessError:
             self.logger.warning("Failed to call %s --version", webdriver_binary)
             return None
         m = re.match(r"Included with Safari (.*)", version_string)
         if not m:
-            self.logger.warning("Failed to extract version from: s%", version_string)
+            self.logger.warning("Failed to extract version from: %s", version_string)
             return None
         return m.group(1)
 
 
 class Servo(Browser):
     """Servo-specific interface."""
 
     product = "servo"