Adhere to USE flags passed into fetch()
authorJason Stubbs <jstubbs@gentoo.org>
Thu, 29 Sep 2005 16:32:12 +0000 (16:32 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Thu, 29 Sep 2005 16:32:12 +0000 (16:32 -0000)
svn path=/main/branches/2.0/; revision=2050

pym/portage.py

index b54bb242ae03d082a3bf40d07cd3d6a759b8f1cf..aa6b8951722bce5e2b9c28e9cf975c63cbbd7b74 100644 (file)
@@ -5457,7 +5457,8 @@ class portdbapi(dbapi):
                        print red("getfetchlist():")+" aux_get() error reading "+mypkg+"; aborting."
                        sys.exit(1)
 
-               useflags = string.split(mysettings["USE"])
+               if useflags is None:
+                       useflags = string.split(mysettings["USE"])
 
                myurilist = portage_dep.paren_reduce(myuris)
                myurilist = portage_dep.use_reduce(myurilist,uselist=useflags,matchall=all)