[Yum-devel] Comments on moving yumRepo.__get to yumRemove._getFile?

Bret McMillan bretm at redhat.com
Mon Mar 5 21:28:38 UTC 2007


Jeremy Katz wrote:
> As it currently stands, if you subclass the YumRepository object and
> want to override any of the getHeader or getPackage functionality (which
> is probably the primary reason to subclass it), you also have to include
> a copy and paste of YumRepository.__get so that you can call it.  Does
> anyone see a good reason not to rename it to _getFile?  That would make
> it so you can override if you want but not have to include a copy.  

Something like that would definitely be more convenient.

--Bret




More information about the Yum-devel mailing list