12 Commits

Author SHA1 Message Date
Sean Dague
dde87e097f fix dsconf for setting localrc name=value
It's important when setting localrc name=value that there are no
spaces around the = sign, otherwise it doesn't work. Remember to treat
localrc special from the iniset portions.
2017-01-17 10:38:03 -05:00
Sean Dague
3ecd349bfe Fix merge of local.conf add tests 2017-01-17 09:22:18 -05:00
Sean Dague
671f526e41 fix pep8 2017-01-16 15:41:20 -05:00
Sean Dague
de574dc6a8 support localconf set 2017-01-16 14:20:58 -05:00
Sean Dague
925b1bc682 add functions to set items in local.conf 2017-01-16 13:31:53 -05:00
Sean Dague
a0f574ab97 add localrc extraction 2017-01-16 12:45:37 -05:00
Sean Dague
edd7cc1bcc tests for merging with existing ini files 2017-01-16 12:12:28 -05:00
Sean Dague
e7636a7714 make iniset work with files that do not yet exist
This allows the add and set commands to work when files do not yet
exist, which becomes important for extracting things like post config
files.
2017-01-16 12:07:10 -05:00
Sean Dague
79f8f551c3 add uncomment function 2017-01-16 10:18:53 -05:00
Sean Dague
6971e39e94 Add comment, set, has methods 2017-01-16 10:04:51 -05:00
Sean Dague
0c14c58913 add inifile add/remove code 2017-01-16 09:37:39 -05:00
Sean Dague
7955f99443 Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00