contrib/check-code.py
changeset 19031 341083b02d1b
parent 18960 170fc0949fb6
child 19080 5e4491c114b2
--- a/contrib/check-code.py	Wed Apr 17 12:57:26 2013 -0500
+++ b/contrib/check-code.py	Wed Apr 17 14:38:02 2013 -0500
@@ -224,6 +224,7 @@
     (r':\n(    )*( ){1,3}[^ ]', "must indent 4 spaces"),
     (r'ui\.(status|progress|write|note|warn)\([\'\"]x',
      "missing _() in ui message (use () to hide false-positives)"),
+    (r'release\(.*wlock, .*lock\)', "wrong lock release order"),
   ],
   # warnings
   [