]> git.decadent.org.uk Git - dak.git/commitdiff
Categorize override bugs
authorLuca Falavigna <dktrkranz@debian.org>
Sat, 4 Feb 2012 22:05:47 +0000 (22:05 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Sat, 4 Feb 2012 22:05:47 +0000 (22:05 +0000)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
dak/bts_categorize.py

index 4a803d569adafa3f851ec0778289cc8fb320c66f..b2cb3d40c465836d623b0a98a8a70ffc53ae5187 100755 (executable)
@@ -79,10 +79,12 @@ class BugClassifier(object):
     rm_re = re.compile( "^RM" )
     dak_re = re.compile( "^\[dak\]" )
     arch_re = re.compile( "^\[Architectures\]" )
+    override_re = re.compile( "^override" )
 
     classifiers = { rm_re: 'remove',
                     dak_re: 'dak',
-                    arch_re: 'archs'}
+                    arch_re: 'archs',
+                    override_re: 'override'}
 
     def unclassified_bugs(self):
         """
@@ -116,7 +118,7 @@ class BugClassifier(object):
         if retval:
             log.info(retval)
         else:
-            log.debug("Unmatched: [%s] %s" % (bug.bug_num, bug.summary))
+            log.debug("Unmatched: [%s] %s" % (bug.bug_num, bug.subject))
 
         return retval