Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1347)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py

Issue 2188623002: Change logging statements to not use the "%" operator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py
index e531c81ebc23a2229e96263c7f7edf27498f8eb9..aa3570c27abad876f0eaa3fccf1faf7efc21d3c1 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py
@@ -57,7 +57,7 @@ class SCMDetector(object):
script_directory = self._filesystem.dirname(self._filesystem.path_to_module(self.__module__))
scm_system = self.detect_scm_system(script_directory, patch_directories)
if scm_system:
- _log.info("The current directory (%s) is not a WebKit checkout, using %s" % (cwd, scm_system.checkout_root))
+ _log.info("The current directory (%s) is not a WebKit checkout, using %s", cwd, scm_system.checkout_root)
else:
raise Exception("FATAL: Failed to determine the SCM system for either %s or %s" % (cwd, script_directory))
return scm_system

Powered by Google App Engine
This is Rietveld 408576698