larsks/configdict — pull request #3 by mzupan (2012-02-22 22:23:46+00:00)
Title: Allow more then 1 sections

Not sure if you even want to merge this but I wanted to make a config file to handle more then 1 [section] in my app. So like this

[general]
stuff = here
foo = bar

[server]
host = 127.0.0.1
port = 1

[server]
host = 127.0.0.1
port = 2

[server]
host = 127.0.0.1
port = 3

So it picks them up like

{'__GLOBAL__':

,
'general':

,
'server': [

,

,

]}