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

svn path=/main/branches/2.1.2/; revision=9919

pym/portage.py

index fcdf6e58913fb578a4dd74827edf4a864c325372..aa8aa946f7e2bb519da7784bc1f0bf176f78fb63 100644 (file)
@@ -7455,7 +7455,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()