Attempt to resolve an issue that causes tests to fail in Travis-CI.

This commit is contained in:
Ryan Petrello
2013-03-12 17:29:16 -04:00
parent c29e059123
commit 870d750fe6

View File

@@ -138,15 +138,13 @@ def render(template, namespace):
return state.app.render(template, namespace)
def load_app(config=None):
def load_app(config):
'''
Used to load a ``Pecan`` application and its environment based on passed
configuration.
:param config: Can be a dictionary containing configuration, a string which
represents a (relative) configuration filename or ``None``
which will fallback to get the ``PECAN_CONFIG`` env
variable.
represents a (relative) configuration filename
returns a pecan.Pecan object
'''