diff options
author | Dirk Mueller <dirk@dmllr.de> | 2017-10-24 14:27:41 +0200 |
---|---|---|
committer | Dirk Mueller <dirk@dmllr.de> | 2017-10-24 14:27:41 +0200 |
commit | f92a2e36d5dcaf5acec58931f42695230131ea58 (patch) | |
tree | 70e1048c9dd2ba48e125d801bf6480f738bc6d66 /pycodestyle.py | |
parent | 6faef2bfda5752c87d432872fe0000aa13316014 (diff) | |
download | pep8-f92a2e36d5dcaf5acec58931f42695230131ea58.tar.gz |
Fix missed quoting in E722 check
The warning looks fairly odd:
E722 do not use bare except'
change this to
E722 do not use bare 'except'
Diffstat (limited to 'pycodestyle.py')
-rwxr-xr-x | pycodestyle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pycodestyle.py b/pycodestyle.py index d31ac9e..dc486c8 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -1280,7 +1280,7 @@ def bare_except(logical_line, noqa): regex = re.compile(r"except\s*:") match = regex.match(logical_line) if match: - yield match.start(), "E722 do not use bare except'" + yield match.start(), "E722 do not use bare 'except'" @register_check |