[llvm-commits] [zorg] r169948 - /zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
David Dean
david_dean at apple.com
Tue Dec 11 16:56:51 PST 2012
Author: ddean
Date: Tue Dec 11 18:56:51 2012
New Revision: 169948
URL: http://llvm.org/viewvc/llvm-project?rev=169948&view=rev
Log:
Return default values for set_config_option while I debug the configuration issues Galina is seeing.
Modified:
zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
Modified: zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py?rev=169948&r1=169947&r2=169948&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py (original)
+++ zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py Tue Dec 11 18:56:51 2012
@@ -114,7 +114,7 @@
return f
def GetLatestValidated(f):
- master_name = config.options.get('Master Options', 'master_name')
+ master_name = set_config_option('Master Options', 'master_name')
download_url = 'http://%s/artifacts' % master_name
f.addStep(buildbot.steps.shell.ShellCommand(
name='rm.host-compiler',
@@ -184,7 +184,7 @@
setProperty(f, 'got_revision', WithProperties('%(revision)s'))
# this generates URLs we can use to link back to the builder which
# triggered downstream builds
- master_url = config.options.get('Master Options', 'master_url')
+ master_url = set_config_option('Master Options', 'master_url')
this_str = '/'.join([master_url, 'builders', '%(buildername)s', 'builds',
'%(buildnumber)s'])
setProperty(f, 'trigger', WithProperties(this_str))
@@ -263,6 +263,10 @@
def set_config_option(section, option, default=False):
import warnings
+ # FIXME: always return default value until I can debug why config.options
+ # aren't working here
+ return default
+
if config.options.has_option(section, option):
return config.options.get(section, option)
else:
More information about the llvm-commits
mailing list