contrib/check-code.py
branchstable
changeset 11599 6fcc066c0c2c
parent 11522 eaa7666ad53f
child 11601 4d9b4725acac
child 11884 932448701e7d
--- a/contrib/check-code.py	Thu Jul 15 13:24:02 2010 +0200
+++ b/contrib/check-code.py	Fri Jul 16 14:40:57 2010 +0200
@@ -108,7 +108,7 @@
     (r'[^+=*!<>&| -](\s=|=\s)[^= ]',
      "wrong whitespace around ="),
     (r'raise Exception', "don't raise generic exceptions"),
-    (r'ui\.(status|progress|write|note)\([\'\"]x',
+    (r'ui\.(status|progress|write|note|warn)\([\'\"]x',
      "warning: unwrapped ui message"),
 ]