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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/style/optparser.py

Issue 2014063002: Run format-webkit on webkitpy code (without string conversion). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/style/optparser.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/optparser.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/optparser.py
index fbd76190059bffc322f136f522aed657c7537974..9416a20997f0f36de8c500cfd1dfb96381fdd022 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/optparser.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/optparser.py
@@ -233,6 +233,7 @@ class ArgumentParser(object):
# FIXME: Move the documentation of the attributes to the __init__
# docstring after making the attributes internal.
+
"""Supports the parsing of check-webkit-style command arguments.
Attributes:
@@ -443,7 +444,7 @@ class ArgumentParser(object):
try:
validate_filter_rules(filter_rules, self._all_categories)
- except ValueError, err:
+ except ValueError as err:
self._parse_error(err)
options = CommandOptionValues(filter_rules=filter_rules,

Powered by Google App Engine
This is Rietveld 408576698