[cig-commits] r7430 - cs/buildbot/trunk/buildbot

leif at geodynamics.org leif at geodynamics.org
Sat Jun 23 15:46:05 PDT 2007


Author: leif
Date: 2007-06-23 15:46:05 -0700 (Sat, 23 Jun 2007)
New Revision: 7430

Modified:
   cs/buildbot/trunk/buildbot/lines.py
Log:
Fixed BinBot config bugs.

Modified: cs/buildbot/trunk/buildbot/lines.py
===================================================================
--- cs/buildbot/trunk/buildbot/lines.py	2007-06-23 22:26:18 UTC (rev 7429)
+++ cs/buildbot/trunk/buildbot/lines.py	2007-06-23 22:46:05 UTC (rev 7430)
@@ -146,7 +146,7 @@
             # config, only create a builder if we have a config
             # corresponding to the tag.  This is so that the
             # 'binaries' build knows what to build.
-            if self.configs is None:
+            if len(self.configs) == 0:
                 return {buildConfig.tag: []}
             if len(self.configs) == 1:
                 return {buildConfig.tag: self.configs.values()[0]}
@@ -161,7 +161,9 @@
         # languages we require.
         
         if self.configs:
-            configs = self.configs
+            configs = {}
+            configs.update(self.configs)
+            del configs['binaries'] # HACK
         else:
             configs = {"__default__": []}
         



More information about the cig-commits mailing list