[Buildbot-commits] buildbot/buildbot/slave __init__.py,1.1,1.2

Brian Warner warner at users.sourceforge.net
Fri Jul 27 10:13:57 UTC 2007


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

Modified Files:
	__init__.py 
Log Message:
[project @ rename c['bots'] to c['slaves'], and use buildbot.slave.BuildSlave instances instead of tuples. Closes #63.]

Original author: warner at lothar.com
Date: 2007-07-27 09:11:01+00:00

Index: __init__.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/slave/__init__.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- __init__.py	26 Aug 2004 08:59:53 -0000	1.1
+++ __init__.py	27 Jul 2007 10:13:55 -0000	1.2
@@ -0,0 +1,10 @@
+
+from buildbot.util import ComparableMixin
+
+class BuildSlave(ComparableMixin):
+    compare_attrs = ["name", "password"]
+
+    def __init__(self, name, password):
+        self.name = name
+        self.password = password
+





More information about the Commits mailing list