[Yum-devel] [PATCH] Lazy initialization of mirror lists
Tim Lauridsen
tla at rasmil.dk
Mon Apr 16 07:22:39 UTC 2007
James Bowes wrote:
> James Bowes wrote:
>
>> It breaks everything right now. self.grabfunc = ... in _setupGrab should
>> be self._grabfunc
>>
>
> It also didn't set up the callbacks properly.
> Attached is a more working version.
>
> -James
>
> + urls = property(lambda self: self._geturls())
>
>
I think it will be a good idea to 'fset' and 'fdel' funtions to the urls
property so it can be urls get be reset and overwritten by plugins and
API programs.
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum-devel/attachments/20070416/3e33284a/attachment.htm
More information about the Yum-devel
mailing list