[Buildbot-commits] buildbot/buildbot interfaces.py,1.61,1.62

Brian Warner warner at users.sourceforge.net
Sun Aug 12 22:22:53 UTC 2007


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

Modified Files:
	interfaces.py 
Log Message:
[project @ IStatus.getSlaveNames: new method to list all buildslaves]

Original author: warner at lothar.com
Date: 2007-08-12 22:18:40+00:00

Index: interfaces.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/interfaces.py,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- interfaces.py	12 Aug 2007 22:22:46 -0000	1.61
+++ interfaces.py	12 Aug 2007 22:22:51 -0000	1.62
@@ -148,6 +148,10 @@
     def getBuilder(name):
         """Return the IBuilderStatus object for a given named Builder. Raises
         KeyError if there is no Builder by that name."""
+
+    def getSlaveNames():
+        """Return a list of buildslave names, suitable for passing to
+        getSlave()."""
     def getSlave(name):
         """Return the ISlaveStatus object for a given named buildslave."""
 





More information about the Commits mailing list