X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=bin%2Fretrieve_eland_config.py;h=cb4fa84a6c0c480ed15866f27d082fbab4e360aa;hb=93897e8a6c02c8aec51940e9546bee4279a7132e;hp=f9acb5216da34a5860440e3bd3473f2777a0f600;hpb=943c4be6a4a1dcad63008f70bd983bc4523eb5f6;p=htsworkflow.git diff --git a/bin/retrieve_eland_config.py b/bin/retrieve_eland_config.py index f9acb52..cb4fa84 100644 --- a/bin/retrieve_eland_config.py +++ b/bin/retrieve_eland_config.py @@ -77,8 +77,8 @@ def constructConfigParser(): """ parser = SafeConfigParser() parser.read([CONFIG_SYSTEM, CONFIG_USER]) - if not parser.has_section('server_info'): - parser.add_section('server_info') + if not parser.has_section('config_file_server'): + parser.add_section('config_file_server') return parser @@ -94,8 +94,8 @@ def getCombinedOptions(): options, args = cl_parser.parse_args() if options.url is None: - if conf_parser.has_option('server_info', 'base_host_url'): - options.url = conf_parser.get('server_info', 'base_host_url') + if conf_parser.has_option('config_file_server', 'base_host_url'): + options.url = conf_parser.get('config_file_server', 'base_host_url') print 'USING OPTIONS:' print ' URL:', options.url