This appears to fix #323
authorIan Cordasco <ian.cordasco@rackspace.com>
Sun, 31 Aug 2014 22:07:39 +0000 (17:07 -0500)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Wed, 17 Dec 2014 00:48:25 +0000 (01:48 +0100)
I am very skeptical of this though

pep8.py

diff --git a/pep8.py b/pep8.py
index 6f6a4c4d585abab7eba19c4578ce449ac90d923e..2caea77e01652c5bda3ab628cb1f3ff027653d6a 100755 (executable)
--- 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 == ')':