diff -r 59c14bf5a48c -r e51d4aedace9 contrib/check-code.py --- a/contrib/check-code.py Sat Jul 28 13:33:06 2012 +0200 +++ b/contrib/check-code.py Tue Jul 31 03:30:42 2012 +0200 @@ -206,6 +206,7 @@ (r'\.debug\(\_', "don't mark debug messages for translation"), (r'\.strip\(\)\.split\(\)', "no need to strip before splitting"), (r'^\s*except\s*:', "warning: naked except clause", r'#.*re-raises'), + (r':\n( )*( ){1,3}[^ ]', "must indent 4 spaces"), ], # warnings [