Red Hat Bugzilla – Bug 127362
Comment character "#" after whitespace ignored in yum.conf
Last modified: 2014-01-21 17:49:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
Description of problem:
See attachment; this form goofs it up. Look at the difference between
the section marked ## WORKS ## and the section marked ## FAILS ##.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use "#" comment character after leading whitespace in yum.conf
Created attachment 101673 [details]
the config parser in yum uses python's configparser module.
converting this over to a python bug.
Actually, I looked this up
this is not a bug in Configparser or python or even in yum.
it is intended behavior
whitespace at the beginning of a line marks a line continuation.