This website requires JavaScript.
Explore
Get Started
openstack
/
deb-python-pecan
Code
Issues
Proposed changes
Files
233690b09ffb89802cdd78d9fec586bc7bee6270
deb-python-pecan
/
tests
/
test_config
History
Mark McClain
5bfef3a9dd
better error handling for errors during conf import
2011-03-06 10:44:39 -05:00
..
bad
better error handling for errors during conf import
2011-03-06 10:44:39 -05:00
__init__.py
adding test configuration files and three tests for them. Currently update_set_default fails because configs are not flushing
2010-12-06 12:14:42 -05:00
config.py
changed variable substitution demo
2010-12-14 14:47:16 -05:00
empty.py
making the empty configuration module really empty by removing cruft
2010-12-06 12:19:14 -05:00
forcedict.py
Sometimes you want parts of your config object to just be a dict(). This is especially useful for working with external packages that expect configuration as a dictionary with dotted keys (e.g., 'beaker.session.type'). Now you can specify
__force_dict__
in dictionaries in your config, and pecan won't convert them into pecan.configuration.Config objects:
2010-12-22 11:15:32 -05:00