diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -8,6 +8,7 @@ # GNU General Public License version 2 or any later version. import re, glob, os, sys +import keyword import optparse def repquote(m): @@ -136,6 +137,8 @@ pypats = [ (r'(?< ](\+=|-=|!=|<>|<=|>=|<<=|>>=)\S',