contrib/check-code.py
changeset 18762 a91387a37f05
parent 18683 a343eccd5ee2
child 18832 a911e5dc2b00
--- a/contrib/check-code.py	Sat Mar 09 16:09:27 2013 -0800
+++ b/contrib/check-code.py	Sat Mar 09 22:14:46 2013 +0100
@@ -216,7 +216,7 @@
     (r'(?i)descendent', "the proper spelling is descendAnt"),
     (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'^\s*except\s*:', "naked except clause", r'#.*re-raises'),
     (r':\n(    )*( ){1,3}[^ ]', "must indent 4 spaces"),
     (r'ui\.(status|progress|write|note|warn)\([\'\"]x',
      "missing _() in ui message (use () to hide false-positives)"),