diff options
author | Ryan Petrello <lists@ryanpetrello.com> | 2012-03-24 01:51:56 -0400 |
---|---|---|
committer | Ryan Petrello <lists@ryanpetrello.com> | 2012-03-24 01:51:56 -0400 |
commit | 6bd9e662bd25f2f5ee32a59d6b22802711f0bd28 (patch) | |
tree | aaccc8dd9c2fc2fa6412096e5239942a275b9f93 /pecan/__init__.py | |
parent | b2f314c3bb2f5705c15cd6a2ccb410de62c882f1 (diff) | |
download | pecan-6bd9e662bd25f2f5ee32a59d6b22802711f0bd28.tar.gz |
Renaming ``pecan.configuration.Config.as_dict`` to ``to_dict``.
Diffstat (limited to 'pecan/__init__.py')
-rw-r--r-- | pecan/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pecan/__init__.py b/pecan/__init__.py index 704ce51..82812ad 100644 --- a/pecan/__init__.py +++ b/pecan/__init__.py @@ -51,7 +51,7 @@ def make_app(root, static_root=None, logging={}, debug=False, # Pass logging configuration (if it exists) on to the Python logging module if logging: if isinstance(logging, Config): - logging = logging.as_dict() + logging = logging.to_dict() if 'version' not in logging: logging['version'] = 1 load_logging_config(logging) |