[MERGE] config: fix missing section name when saving config file

bzr revid: rco@openerp.com-20111223152211-xkqojrv22vkfwhht
This commit is contained in:
Raphael Collet 2011-12-23 16:22:11 +01:00
commit 487a82ccf9
1 changed files with 1 additions and 0 deletions

View File

@ -568,6 +568,7 @@ class configmanager(object):
p.set('options', opt, self.options[opt])
for sec in sorted(self.misc.keys()):
p.add_section(sec)
for opt in sorted(self.misc[sec].keys()):
p.set(sec,opt,self.misc[sec][opt])