diff contrib/check-code.py @ 11601:4d9b4725acac

Merge with stable
author Martin Geisler <mg@lazybytes.net>
date Fri, 16 Jul 2010 14:45:52 +0200
parents f8576644a222 6fcc066c0c2c
children ba2520dd1e29
line wrap: on
line diff
--- 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"),
 ]