mozilla/configman — pull request #37 by twobraids (2012-04-27 14:22:17+00:00)
Title: enhanced configobj have an include directive

I derived a new class from ConfigObj and added a C style include directive. It works like this:

db.ini:

dbhostname=myserver
dbname=some_database
dbuser=dwight
dbpassword=secrets

app.ini:
[source]
+include ./db.ini

[destination]
+include ./db.ini

when the 'app.ini' file is loaded, ConfigObj will respond as if the file
had been written like this:
[source]
dbhostname=myserver
dbname=some_database
dbuser=dwight
dbpassword=secrets

[destination]
dbhostname=myserver
dbname=some_database
dbuser=dwight
dbpassword=secrets