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

seth vidal skvidal at fedoraproject.org
Fri Oct 3 18:47:56 UTC 2008


On Fri, 2008-10-03 at 11:21 -0700, Jesse Keating wrote:
> 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.

okay, committed

thanks,
-sv




More information about the Yum-devel mailing list