derks/cement — Issue #80: ConfigParser wierdness
Author: derks
Created: 2011-11-16 23:35:11+00:00
State: open
Labels: 2.x, bug

After parsing a config file, ConfigParser turns lists into multiline strings. For example:

>>> defaults['base']['config_files']
['/etc/helloworld/helloworld.conf', '~/.helloworld.conf']

Becomes:

>>> app.config.get('base', 'config_files')
'/etc/helloworld/helloworld.conf\n~/.helloworld.conf'

Ultimately, this doesn't break the framework as 'config_files' is only used once to find the files to parse... but its not good if anyone wanted to access that config value later on.