[80503] contrib/buildbot/master.cfg

jmr at macports.org jmr at macports.org
Wed Jul 13 12:08:20 PDT 2011


Revision: 80503
          http://trac.macports.org/changeset/80503
Author:   jmr at macports.org
Date:     2011-07-13 12:08:20 -0700 (Wed, 13 Jul 2011)
Log Message:
-----------
buildmaster: apparently there's no hasProperty method where we need it, so just catch the exception

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

Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg	2011-07-13 19:04:24 UTC (rev 80502)
+++ contrib/buildbot/master.cfg	2011-07-13 19:08:20 UTC (rev 80503)
@@ -135,9 +135,9 @@
             ShellCommand.setBuild(self, build)
             
             # support forced build properties
-            if self.hasProperty('portlist'):
+            try:
                 portlist = self.getProperty('portlist').strip()
-            else:
+            except:
                 portlist = ''
 
             portset = set()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110713/b686ef79/attachment.html>


More information about the macports-changes mailing list