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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py

Issue 2679393004: Fix all "dangerous-default-value" pylint warnings. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/style/optparser_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5a2896b480b334f0ceed4d06fbd653df4e7e6139..dcd202bb9fbf1a5aa62801846e1102b71181849b 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
@@ -121,8 +121,8 @@ class Command(object):
# main() exists so that Commands can be turned into stand-alone scripts.
# Other parts of the code will likely require modification to work stand-alone.
- def main(self, args=sys.argv):
- (options, args) = self.parse_args(args)
+ def main(self, args=None):
+ options, args = self.parse_args(args)
# Some commands might require a dummy tool
return self.check_arguments_and_execute(options, args)
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/style/optparser_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698