changeset 16249 | 0d175ac527c1 |
parent 16234 | a6941d7033fa |
child 16332 | 42e95631887d |
--- a/contrib/check-code.py Fri Mar 09 17:11:07 2012 +0100 +++ b/contrib/check-code.py Mon Mar 12 13:37:39 2012 -0500 @@ -169,7 +169,7 @@ "missing whitespace around operator"), (r'\s(\+=|-=|!=|<>|<=|>=|<<=|>>=)\S', "missing whitespace around operator"), - (r'[^+=*/!<>&| -](\s=|=\s)[^= ]', + (r'[^^+=*/!<>&| -](\s=|=\s)[^= ]', "wrong whitespace around ="), (r'raise Exception', "don't raise generic exceptions"), (r' is\s+(not\s+)?["\'0-9-]', "object comparison with literal"),