yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13490
[Bug 1303968] Re: Empty ini files not outputting correctly
** Changed in: anvil
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1303968
Title:
Empty ini files not outputting correctly
Status in ANVIL for forging OpenStack.:
Fix Released
Bug description:
It appears empty configuration files, with values being set on them do
not actually result in those values then being output. This appears to
be a feature/bug of iniparse and configparser and how it handles the
DEFAULT section whereby if the DEFAULT section is not present in the
initial document that subsequent modifications to the DEFAULT sections
keys and values will not cause a new DEFAULT section to be created
(and then output). Since nova.conf.sample recently disappeared and now
the handling of this returns an empty string (without a DEFAULT
section) we need to add logic that creates a DEFAULT section if it is
not present in the initial document to ensure that the keys/values we
add/remove/set are actually adjusted and output correctly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1303968/+subscriptions
References