Use Package.use.enabled where appropriate.
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Feb 2010 05:45:54 +0000 (05:45 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Feb 2010 05:45:54 +0000 (05:45 -0000)
svn path=/main/trunk/; revision=15316

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,