[80241] contrib/buildbot/master.cfg

wsiegrist at apple.com wsiegrist at apple.com
Thu Jul 7 09:27:58 PDT 2011


Revision: 80241
          http://trac.macports.org/changeset/80241
Author:   wsiegrist at apple.com
Date:     2011-07-07 09:27:57 -0700 (Thu, 07 Jul 2011)
Log Message:
-----------
Use slavedata for slavenames

Modified Paths:
--------------
    contrib/buildbot/master.cfg

Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg	2011-07-07 15:38:42 UTC (rev 80240)
+++ contrib/buildbot/master.cfg	2011-07-07 16:27:57 UTC (rev 80241)
@@ -32,8 +32,8 @@
 from buildbot.buildslave import BuildSlave
 
 c['slaves'] = []
+slavedata = {}
 if production:
-    slavedata = {}
     with open(_path('slaves.json')) as f:
         slavedata = json.load(f)
     for slave, pwd in slavedata.items():
@@ -180,7 +180,7 @@
 from buildbot.config import BuilderConfig
 
 if production:
-    slavenames = ["apple-snowleopard-x86_64"]
+    slavenames = slavedata.keys() 
 else:
     slavenames = ["snowleopard-x86_64"]
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110707/e7f7b859/attachment.html>


More information about the macports-changes mailing list