Commit 066e9ed6 authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove duplicated attribute

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@45562 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9c2a9aa0
...@@ -60,7 +60,7 @@ def application(global_config, **local_config): ...@@ -60,7 +60,7 @@ def application(global_config, **local_config):
value = '%s:%s' % (value, current_value) value = '%s:%s' % (value, current_value)
environment_dict[variable_name] = value environment_dict[variable_name] = value
local_config['environment_dict'] = environment_dict local_config["env"] = environment_dict
gc.enable() gc.enable()
debug_mode = util.convertStringToBool(local_config.get('debug_mode')) debug_mode = util.convertStringToBool(local_config.get('debug_mode'))
...@@ -91,7 +91,6 @@ def application(global_config, **local_config): ...@@ -91,7 +91,6 @@ def application(global_config, **local_config):
handler_dict[handler] = module.Handler handler_dict[handler] = module.Handler
local_config['handler_dict'] = handler_dict local_config['handler_dict'] = handler_dict
local_config["env"] = environment_dict
from manager import Manager from manager import Manager
cloudooo_manager = Manager(cloudooo_path_tmp_dir, **local_config) cloudooo_manager = Manager(cloudooo_path_tmp_dir, **local_config)
return WSGIXMLRPCApplication(instance=cloudooo_manager) return WSGIXMLRPCApplication(instance=cloudooo_manager)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment