summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-02 05:45:54 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-02 05:45:54 +0000
commitdf12ddaa6d5d22d35a5874869395f0c8bbe61f19 (patch)
treeee9e42accd1d56d0d47f6c120615380d5f20a8b4
parentbe42c7710e300097c1f56396f502e8e5f2edf389 (diff)
downloadportage-df12ddaa6d5d22d35a5874869395f0c8bbe61f19.tar.gz
portage-df12ddaa6d5d22d35a5874869395f0c8bbe61f19.tar.bz2
portage-df12ddaa6d5d22d35a5874869395f0c8bbe61f19.zip
Use Package.use.enabled where appropriate.
svn path=/main/trunk/; revision=15316
-rw-r--r--pym/_emerge/EbuildFetcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py
index cf2319b01..58e4640f7 100644
--- a/pym/_emerge/EbuildFetcher.py
+++ b/pym/_emerge/EbuildFetcher.py
@@ -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,