diff -r 51e6f318bdf1 -r 0d175ac527c1 contrib/check-code.py --- 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"),