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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.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/tool/commands/command.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
index f5ed8444118f81e74fb974cd1b28451ee881fb22..a9264ebf8a122cd349bcaa7d34ab977226db0ddf 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
@@ -107,13 +107,13 @@ class Command(object):
def check_arguments_and_execute(self, options, args, tool=None):
if len(args) < len(self.required_arguments):
- _log.error("%s required, %s provided. Provided: %s Required: %s\nSee '%s help %s' for usage." % (
+ _log.error("%s required, %s provided. Provided: %s Required: %s\nSee '%s help %s' for usage.",
pluralize("argument", len(self.required_arguments)),
pluralize("argument", len(args)),
"'%s'" % " ".join(args),
" ".join(self.required_arguments),
tool.name(),
- self.name))
+ self.name)
return 1
return self.execute(options, args, tool) or 0

Powered by Google App Engine
This is Rietveld 408576698