summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <ian.cordasco@rackspace.com>2014-08-31 17:07:39 -0500
committerFlorent Xicluna <florent.xicluna@gmail.com>2014-12-17 01:48:25 +0100
commitd3720db1bb42de06ebbc741d3490ddb8be4feab2 (patch)
tree95a3ff74b1bda9806ae3da57acd5943bdb39425a
parent67cb8617cf0276e5a2953a2ff2ee2976603512ea (diff)
downloadpep8-d3720db1bb42de06ebbc741d3490ddb8be4feab2.tar.gz
This appears to fix #323
I am very skeptical of this though
-rwxr-xr-xpep8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pep8.py b/pep8.py
index 6f6a4c4..2caea77 100755
--- a/pep8.py
+++ b/pep8.py
@@ -771,7 +771,7 @@ def whitespace_around_named_parameter_equals(logical_line, tokens):
no_space = False
if start != prev_end:
yield (prev_end, message)
- elif token_type == tokenize.OP:
+ if token_type == tokenize.OP:
if text == '(':
parens += 1
elif text == ')':