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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/user.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/system/user.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/user.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/user.py
index 5d83b556b6f54b6ce176e2eaba059a883cf0ec89..ed8f46e05ac1428fbf12cedcb61d220f5acdd1af 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/user.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/user.py
@@ -149,5 +149,5 @@ class User(object):
def open_url(self, url):
if not self.can_open_url():
- _log.warn("Failed to open %s" % url)
+ _log.warning("Failed to open %s", url)
webbrowser.open(url)

Powered by Google App Engine
This is Rietveld 408576698