[Buildbot-commits] buildbot/buildbot/slave bot.py,1.25,1.26

Brian Warner warner at users.sourceforge.net
Mon Jul 2 17:44:51 UTC 2007


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

Modified Files:
	bot.py 
Log Message:
[project @ in the buildslave .tac file, rename 'host' to 'buildmaster_host']

Original author: warner at lothar.com
Date: 2007-07-02 17:37:12+00:00

Index: bot.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/slave/bot.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- bot.py	12 Dec 2006 03:24:03 -0000	1.25
+++ bot.py	2 Jul 2007 17:44:48 -0000	1.26
@@ -463,8 +463,9 @@
     # debugOpts['failPingOnce'] can be set to True to make the slaveping fail
     # exactly once.
 
-    def __init__(self, host, port, name, passwd, basedir, keepalive,
-                 usePTY, keepaliveTimeout=30, umask=None, debugOpts={}):
+    def __init__(self, buildmaster_host, port, name, passwd, basedir,
+                 keepalive, usePTY, keepaliveTimeout=30, umask=None,
+                 debugOpts={}):
         log.msg("Creating BuildSlave")
         service.MultiService.__init__(self)
         self.debugOpts = debugOpts.copy()
@@ -476,7 +477,7 @@
         self.umask = umask
         bf = self.bf = BotFactory(keepalive, keepaliveTimeout)
         bf.startLogin(credentials.UsernamePassword(name, passwd), client=bot)
-        self.connection = c = internet.TCPClient(host, port, bf)
+        self.connection = c = internet.TCPClient(buildmaster_host, port, bf)
         c.setServiceParent(self)
 
     def waitUntilDisconnected(self):





More information about the Commits mailing list