##// END OF EJS Templates
check-code: improve detection of naked except clauses
Brodie Rao -
r16704:1f3acc30 default
parent child Browse files
Show More
@@ -206,7 +206,7 b' pypats = ['
206 ],
206 ],
207 # warnings
207 # warnings
208 [
208 [
209 (r'^\s*except:$', "warning: naked except clause"),
209 (r'^\s*except\s*:', "warning: naked except clause"),
210 (r'ui\.(status|progress|write|note|warn)\([\'\"]x',
210 (r'ui\.(status|progress|write|note|warn)\([\'\"]x',
211 "warning: unwrapped ui message"),
211 "warning: unwrapped ui message"),
212 ]
212 ]
General Comments 0
You need to be logged in to leave comments. Login now