]> git.decadent.org.uk Git - dak.git/commitdiff
Whatever the difference between the summary and the subject field is: We
authorAlexander Reichle-Schmehl <alexander@schmehl.info>
Sat, 18 Sep 2010 14:49:46 +0000 (16:49 +0200)
committerAlexander Reichle-Schmehl <alexander@schmehl.info>
Sat, 18 Sep 2010 14:49:46 +0000 (16:49 +0200)
want to to try to match the subject

dak/bts_categorize.py

index 10ec9fac935e3f52de7d0dfdb2a80fa5de200627..4a803d569adafa3f851ec0778289cc8fb320c66f 100755 (executable)
@@ -84,13 +84,6 @@ class BugClassifier(object):
                     dak_re: 'dak',
                     arch_re: 'archs'}
 
-    def __init__( self ):
-        # Tolimar: I'm not really sure, what the following line used to to
-        # with btsutils, but I think it's not needed any more with
-        # debianbts
-       # self.bts.setUsers(['ftp.debian.org@packages.debian.org'])
-
-
     def unclassified_bugs(self):
         """
         Returns a list of open bugs which have not yet been classified
@@ -115,7 +108,7 @@ class BugClassifier(object):
         retval = ""
 
         for classifier in self.classifiers.keys():
-            if classifier.match(bug.summary):
+            if classifier.match(bug.subject):
                 retval = "usertag %s %s\n" % (bug.bug_num,
                                             self.classifiers[classifier])
                 break