On Wed, 16 Feb 2005 20:10:33 +0100
Stefan Sperling <[EMAIL PROTECTED]> wrote:
>
> So hopefully this will speed up cache updates as well :)
>
>>> Updating Portage cache:
Traceback (most recent call last):
File "/usr/bin/emerge", line 2601, in ?
mynodes.sort()
AttributeError: 'generator' object has no attribute 'sort'
That doesn't kill the idea of using generators in some cases
though (and that's a good idea indeed), but just means it will
need a bit more care. Actually, i dont think it is the right way
to modify cp_all() return type (even if you fix all its usages in
portage, it will still break some external tools). The patch
should probably rather add a new function, and try to use it where
possible. My 2 cents...
--
TGL.
--
[email protected] mailing list