Red Hat Bugzilla – Bug 855590
python-iniparse causes yum to fail to properly parse configuration for yum-plugin-remove-with-leaves
Last modified: 2012-09-26 05:03:21 EDT
Description of problem:
yum-plugin-remove-with-leaves contains a configuration file that starts with 'rem' (remove), parsing of this line is affected by known bug from iniparse which causes it to skip the line. Due to this one can't permanently enable the plugin functionality.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Run python, run a test case:
>>> import iniparse
>>> import StringIO
>>> parser = iniparse.RawConfigParser()
>>> parser.readfp(StringIO.StringIO('[main]\nok = 1\nremoved = yes\n\n'))
Lack of 'removed' in items.
'removed' should appear in items.
The bug has been known at least from February, see http://code.google.com/p/iniparse/issues/detail?id=28, this bug also contains a one line fix to this bug, can we have a revision bump for F17?
I have add a patch, please test
python-iniparse-0.4-6.fc18 has been submitted as an update for Fedora 18.
python-iniparse-0.4-6.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-iniparse-0.4-6.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-iniparse-0.4-6.fc17 resolves the issue, thanks!
could you please add some karma to the updates
(In reply to comment #6)
> could you please add some karma to the updates
Yes, of course -- it's done.
python-iniparse-0.4-6.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
python-iniparse-0.4-6.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.