Use Package.use.enabled where appropriate. (trunk r15316)
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:06:37 +0000 (20:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:06:37 +0000 (20:06 -0000)
svn path=/main/branches/2.1.7/; revision=15551

pym/_emerge/EbuildFetcher.py

index cf2319b0105bbc3a4eb03c8c372560fd154965a4..58e4640f72d11dd2f6151ff5d5b69cc0cd4da5a1 100644 (file)
@@ -91,7 +91,7 @@ class EbuildFetcher(SpawnProcess):
                distdir = settings["DISTDIR"]
                use = None
                if not self.fetchall:
-                       use = frozenset(settings["PORTAGE_USE"].split())
+                       use = self.pkg.use.enabled
 
                try:
                        uri_map = portdb.getFetchMap(self.pkg.cpv,