check-code: warn about untranslated ui.warn calls stable
authorMartin Geisler <mg@lazybytes.net>
Fri, 16 Jul 2010 14:40:57 +0200
branchstable
changeset 11599 6fcc066c0c2c
parent 11571 636554d58665
child 11600 76454cbc11e4
check-code: warn about untranslated ui.warn calls
contrib/check-code.py
--- 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"),
 ]