Fix portdbapi.getfetchlist() so that it doesn't unnecessarily calculate
authorZac Medico <zmedico@gentoo.org>
Wed, 16 Apr 2008 18:08:41 +0000 (18:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 16 Apr 2008 18:08:41 +0000 (18:08 -0000)
USE when the "all" parameter is True.

svn path=/main/trunk/; revision=9918

pym/portage/dbapi/porttree.py

index 3ea73d00ad568c2f902ed4010ec70aa535385849..845fdbae5be843a2dba7333d275e353a4615f87d 100644 (file)
@@ -379,7 +379,7 @@ class portdbapi(dbapi):
                                "getfetchlist(): '%s' has unsupported EAPI: '%s'" % \
                                (mypkg, eapi.lstrip("-")))
 
-               if useflags is None:
+               if not all and useflags is None:
                        mysettings.setcpv(mypkg, mydb=self)
                        useflags = mysettings["PORTAGE_USE"].split()