Lines 183-189
def _get_deployment_config_file():
Link Here
|
183 |
return os.path.abspath(path) |
183 |
return os.path.abspath(path) |
184 |
|
184 |
|
185 |
|
185 |
|
186 |
def load_paste_app(app_name=None): |
186 |
def load_paste_app(app_name): |
187 |
""" |
187 |
""" |
188 |
Builds and returns a WSGI app from a paste config file. |
188 |
Builds and returns a WSGI app from a paste config file. |
189 |
|
189 |
|
Lines 195-203
def load_paste_app(app_name=None):
Link Here
|
195 |
:raises RuntimeError when config file cannot be located or application |
195 |
:raises RuntimeError when config file cannot be located or application |
196 |
cannot be loaded from config file |
196 |
cannot be loaded from config file |
197 |
""" |
197 |
""" |
198 |
if app_name is None: |
|
|
199 |
app_name = CONF.prog |
200 |
|
201 |
# append the deployment flavor to the application name, |
198 |
# append the deployment flavor to the application name, |
202 |
# in order to identify the appropriate paste pipeline |
199 |
# in order to identify the appropriate paste pipeline |
203 |
app_name += _get_deployment_flavor() |
200 |
app_name += _get_deployment_flavor() |
204 |
- |
|
|