Bugfix for pgcleanup.py

This commit is contained in:
Nate Coraor
2012-09-10 14:07:05 -04:00
parent 218e32119b
commit c8e49cdd6d
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -186,6 +186,8 @@ class Configuration( object ):
self.os_conn_path = kwargs.get( 'os_conn_path', '/' )
self.object_store_cache_size = float(kwargs.get( 'object_store_cache_size', -1 ))
self.distributed_object_store_config_file = kwargs.get( 'distributed_object_store_config_file', None )
if self.distributed_object_store_config_file is not None:
self.distributed_object_store_config_file = resolve_path( self.distributed_object_store_config_file, self.root )
# Parse global_conf and save the parser
global_conf = kwargs.get( 'global_conf', None )
global_conf_parser = ConfigParser.ConfigParser()
+1
View File
@@ -90,6 +90,7 @@ class Cleanup(object):
config_dict = {}
for key, value in config_parser.items('app:main'):
config_dict[key] = value
config_dict['root_dir'] = galaxy_root
self.config = galaxy.config.Configuration(**config_dict)