| 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,
|
|
|