[Yum-devel] [PATCH] Subclass ConfigParser so that the options don't get lowercased. This is important given that they are path names.

Jesse Keating jkeating at j2solutions.net
Fri Oct 3 18:21:08 UTC 2008


On Fri, 2008-10-03 at 14:10 -0400, seth vidal wrote:
> On Fri, 2008-10-03 at 09:34 -0700, Jesse Keating wrote:
> > This patch is necessary, as we store file paths as config options.  By
> > default, ConfigParser will both create and read options as all lower
> > case.  That plays havoc with files that have upper case in them, like
> > *-PAE.  I've patched pungi to write the config file out verbatim, and
> > this patch will cause verifytree to read them verbatim.
> 
> Does this only happen on ConfigParser and not on python-iniparse?
> 
> -sv

python-iniparse will also force everything lowercase.  I suspect it's
for backwards compatibility with ConfigParser.

-- 
Jesse Keating RHCE      (http://jkeating.livejournal.com)
Fedora Project          (http://fedoraproject.org/wiki/JesseKeating)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)
identi.ca               (http://identi.ca/jkeating)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20081003/c431a291/attachment.pgp 


More information about the Yum-devel mailing list