add a fixme

This commit is contained in:
Chris Jones 2009-12-25 21:42:57 +00:00
parent 07f7906f86
commit 71fcada828
1 changed files with 2 additions and 0 deletions

View File

@ -278,6 +278,8 @@ class ConfigBase(Borg):
parser.indent_type = ' ' parser.indent_type = ' '
for section_name in sections: for section_name in sections:
section = getattr(self, section_name) section = getattr(self, section_name)
# FIXME: Instead of just writing out the whole section we should
# only write out things that aren't defaults
parser[section_name] = section parser[section_name] = section
parser.write(open(os.path.join(get_config_dir(), 'epic-config'), 'w')) parser.write(open(os.path.join(get_config_dir(), 'epic-config'), 'w'))