contrib/check-code.py
changeset 11601 4d9b4725acac
parent 11569 f8576644a222
parent 11599 6fcc066c0c2c
child 11602 ba2520dd1e29
--- a/contrib/check-code.py	Fri Jul 16 13:38:33 2010 +0200
+++ b/contrib/check-code.py	Fri Jul 16 14:45:52 2010 +0200
@@ -113,7 +113,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"),
 ]