[Buildbot-commits] buildbot/buildbot/status tinderbox.py,1.5,1.6
Brian Warner
warner at users.sourceforge.net
Sat Sep 29 22:39:24 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/status
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv371/buildbot/status
Modified Files:
tinderbox.py
Log Message:
[project @ TinderboxMailNotifier: respect 'builders' arg. Closes #89.]
Original author: warner at lothar.com
Date: 2007-09-29 22:38:48+00:00
Index: tinderbox.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/tinderbox.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- tinderbox.py 12 Dec 2006 03:24:03 -0000 1.5
+++ tinderbox.py 29 Sep 2007 22:39:22 -0000 1.6
@@ -94,6 +94,12 @@
self.logCompression = logCompression
def buildStarted(self, name, build):
+ builder = build.getBuilder()
+ if self.builders is not None and name not in self.builders:
+ return # ignore this Build
+ if self.categories is not None and \
+ builder.category not in self.categories:
+ return # ignore this build
self.buildMessage(name, build, "building")
def buildMessage(self, name, build, results):
More information about the Commits
mailing list