[Buildbot-commits] buildbot/buildbot master.py,1.103,1.104

Brian Warner warner at users.sourceforge.net
Wed Feb 7 03:42:37 UTC 2007


Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13498/buildbot

Modified Files:
	master.py 
Log Message:
[project @ BotPerspective.__repr__: correct bitrot]

Original author: warner at lothar.com
Date: 2007-02-07 03:33:12

Index: master.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/master.py,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- master.py	11 Dec 2006 09:06:34 -0000	1.103
+++ master.py	7 Feb 2007 03:42:34 -0000	1.104
@@ -59,9 +59,10 @@
         return defer.succeed(None)
 
     def __repr__(self):
-        return "<BotPerspective '%s', builders: %s>" % \
+        builders = self.botmaster.getBuildersForSlave(self.slavename)
+        return "<BotPerspective '%s', current builders: %s>" % \
                (self.slavename,
-                string.join(map(lambda b: b.name, self.builders), ','))
+                string.join(map(lambda b: b.name, builders), ','))
 
     def attached(self, bot):
         """This is called when the slave connects.





More information about the Commits mailing list