[pypy-commit] buildbot issue-1759: allow valid slave names in slaveinfo.py even if debugging

mattip noreply at buildbot.pypy.org
Tue Feb 10 22:49:29 CET 2015


Author: mattip <matti.picus at gmail.com>
Branch: issue-1759
Changeset: r925:306d94b288c6
Date: 2015-02-09 20:05 +0200
http://bitbucket.org/pypy/buildbot/changeset/306d94b288c6/

Log:	allow valid slave names in slaveinfo.py even if debugging

diff --git a/master/master.cfg b/master/master.cfg
--- a/master/master.cfg
+++ b/master/master.cfg
@@ -23,5 +23,9 @@
 
 if we_are_debugging():
     for builderdict in BuildmasterConfig['builders']:
-        builderdict["slavenames"] = ['localhost']
+        valid_slaves = ['localhost']
+        for s in builderdict['slavenames']:
+            if s in slaveinfo.passwords:
+                valid_slaves.append(s)
+        builderdict["slavenames"] = valid_slaves
     BuildmasterConfig['buildbotURL'] = "http://localhost:%d/" % (httpPortNumber)


More information about the pypy-commit mailing list