Make Paste use default configs

Instead of specifying a custom location for the Marconi configuration file
through Paste, just use the defaults as specified by our config module.

Change-Id: Ia01e262e298f953412a36c75614c7656c3105db1
Implements: blueprint config-module
This commit is contained in:
Bryan Davidson 2013-04-22 16:28:42 -04:00
parent 0f77d41a96
commit 32150c643e
2 changed files with 1 additions and 3 deletions

View File

@ -12,4 +12,3 @@ admin_password = %SERVICE_PASSWORD%
[app:marconi]
paste.app_factory = lib.marconi_paste:WSGI.app_factory
config_file = marconi.conf-sample

View File

@ -19,7 +19,6 @@ import marconi
class WSGI(object):
@staticmethod
def app_factory(global_config, **local_config):
bootstrap = marconi.Bootstrap(global_config['here'] + '/' +
local_config['config_file'])
bootstrap = marconi.Bootstrap()
return bootstrap.transport.app