diff contrib/check-code.py @ 14709:6c7283faa967 stable

check-code: don't mark debug messages for translation
author Matt Mackall <mpm@selenic.com>
date Tue, 21 Jun 2011 15:21:57 -0500
parents 48ec0763afbb
children b071cd58af50
line wrap: on
line diff
--- a/contrib/check-code.py	Tue Jun 21 18:35:13 2011 +0200
+++ b/contrib/check-code.py	Tue Jun 21 15:21:57 2011 -0500
@@ -178,6 +178,7 @@
     (r'[\s\(](open|file)\([^)]*\)\.',
      "always assign an opened file to a variable, and close it afterwards"),
     (r'(?i)descendent', "the proper spelling is descendAnt"),
+    (r'\.debug\(\_', "don't mark debug messages for translation"),
   ],
   # warnings
   [