[Yum-devel] [Fwd: [yum-cvs] yum/yum config.py,1.81,1.82]

Jeremy Katz katzj at redhat.com
Fri Dec 9 15:48:09 UTC 2005


On Fri, 2005-12-09 at 13:26 +1000, Menno Smits wrote:
> Hmmmm, I really wanted the getConfigOption and setConfigOption methods 
> to go away. They are kinda ugly.

How are they ugly?  They abstract a caller from having to know exactly
how config options are handled internally.  They also have the advantage
of letting you use a string to get the info (which is handy if you want
to just attach properties to GUI elements).

> What needs these? I thought I got rid of all uses of these methods 
> within Yum so I assume some external program that uses the Yum API is 
> needs them.

pup, anaconda and yumex all were using them. 

Jeremy




More information about the Yum-devel mailing list