[80490] contrib/buildbot/master.cfg

jmr at macports.org jmr at macports.org
Wed Jul 13 10:49:04 PDT 2011


Revision: 80490
          http://trac.macports.org/changeset/80490
Author:   jmr at macports.org
Date:     2011-07-13 10:49:02 -0700 (Wed, 13 Jul 2011)
Log Message:
-----------
buildmaster: check for existence of portlist property

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

Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg	2011-07-13 17:38:26 UTC (rev 80489)
+++ contrib/buildbot/master.cfg	2011-07-13 17:49:02 UTC (rev 80490)
@@ -135,7 +135,10 @@
             ShellCommand.setBuild(self, build)
             
             # support forced build properties
-            portlist = self.getProperty('portlist').strip()
+            if self.hasProperty('portlist'):
+                portlist = self.getProperty('portlist').strip()
+            else:
+                portlist = ''
 
             portset = set()
             # paths should be category/portdir(/...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110713/fd002055/attachment.html>


More information about the macports-changes mailing list