Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
fixing pep8 problms
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Angove committed Apr 16, 2012
1 parent f214446 commit 3bfee6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep8.py
Expand Up @@ -941,7 +941,7 @@ def compound_statements(logical_line):
if (before.count('{') <= before.count('}') and # {'a': 1} (dict)
before.count('[') <= before.count(']') and # [1:2] (slice)
not LAMBDA_REGEX.search(before)): # lambda x: x
return found, "E701 multiple statements on one line (colon)"
yield found, "E701 multiple statements on one line (colon)"
found = line.find(';')
if -1 < found:
yield found, "E702 multiple statements on one line (semicolon)"
Expand Down

0 comments on commit 3bfee6b

Please sign in to comment.