From 6d03dbb954cd67e522374c12225aa08a129e5d60 Mon Sep 17 00:00:00 2001 From: Alexander Reichle-Schmehl Date: Sat, 18 Sep 2010 16:49:46 +0200 Subject: [PATCH] Whatever the difference between the summary and the subject field is: We want to to try to match the subject --- dak/bts_categorize.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 -- 2.39.5