From: Alexander Reichle-Schmehl Date: Sat, 18 Sep 2010 14:49:46 +0000 (+0200) Subject: Whatever the difference between the summary and the subject field is: We X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=6d03dbb954cd67e522374c12225aa08a129e5d60;p=dak.git Whatever the difference between the summary and the subject field is: We want to to try to match the subject --- diff --git a/dak/bts_categorize.py b/dak/bts_categorize.py index 10ec9fac..4a803d56 100755 --- a/dak/bts_categorize.py +++ b/dak/bts_categorize.py @@ -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