[Yum-devel] [yum-commits] plugins/auto-update-debuginfo

James Antill james at fedoraproject.org
Wed Jul 15 01:01:05 UTC 2009


On Tue, 2009-07-14 at 16:55 -0500, Manuel Amador (Rudd-O) wrote:
> James,
> 
> Aren't you missing a parenthesis open and parenthesis close in this line?
> 
> > +    yb.pkgSack.returnPackages

 No, "yb.pkgSack" would be enough ... but at the time I was thinking
about:

    for pkg in yb.pkgSack:

...which is expensive, so added the extra member access to make sure it
didn't do that. But I'm 99% sure python doesn't do that anyway now I
think about it more.

 Cool that someone is checking up though :).

-- 
James Antill <james at fedoraproject.org>
Fedora


More information about the Yum-devel mailing list