[Buildbot-commits] buildbot/buildbot/status words.py,1.34,1.35

Brian Warner warner at users.sourceforge.net
Tue Apr 26 06:35:38 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/status
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6402/buildbot/status

Modified Files:
	words.py 
Log Message:
(IrcStatusBot.buildFinished): fix a category-related exception when
announcing a build has finished


Index: words.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/words.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- words.py	24 Apr 2005 21:30:25 -0000	1.34
+++ words.py	26 Apr 2005 06:35:36 -0000	1.35
@@ -229,8 +229,11 @@
                    }
 
         # only notify about builders we are interested in
-        log.msg('builder %r in category %s finished' % (b, b.category))
-        if self.categories != None and b.category not in self.categories:
+        builder = b.getBuilder()
+        log.msg('builder %r in category %s finished' % (builder,
+                                                        builder.category))
+        if (self.categories != None and
+            builder.category not in self.categories):
             return
 
         r = "Hey! build %s #%d is complete: %s" % \





More information about the Commits mailing list