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

seth vidal skvidal at linux.duke.edu
Tue Mar 6 04:49:50 UTC 2007


On Mon, 2007-03-05 at 14:46 -0500, 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.  
> 

I agree with Bret and James.

go thee forth and fix.
-sv







More information about the Yum-devel mailing list