From 93897e8a6c02c8aec51940e9546bee4279a7132e Mon Sep 17 00:00:00 2001 From: Brandon King Date: Mon, 19 Nov 2007 20:16:47 +0000 Subject: [PATCH] [project @ changed config file section from 'server_info' to 'config_file_server'] --- bin/config_pipeline2.py | 2 +- bin/retrieve_eland_config.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/config_pipeline2.py b/bin/config_pipeline2.py index 8e9e81d..2739cce 100644 --- a/bin/config_pipeline2.py +++ b/bin/config_pipeline2.py @@ -297,7 +297,7 @@ def retrieve_config(conf_info, flowcell, cfg_filepath, genome_dir): ~/.ga_frontend.conf with: - [server_info] + [config_file_server] base_host_url: http://host:port return True if successful, False is failure 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 -- 2.30.2