check-code: warn about untranslated ui.warn calls

This commit is contained in:
Martin Geisler 2010-07-16 14:40:57 +02:00
parent b68a37ac34
commit 71971a8928

View File

@ -108,7 +108,7 @@ pypats = [
(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"),
]