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

James Bowes jbowes at redhat.com
Mon Mar 5 19:54:11 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.  


double underscores are bad. I should have been flogged for ever using
them. Please accept my apologies for this.

-James



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070305/8aed5e4f/attachment.pgp 


More information about the Yum-devel mailing list