From: Zac Medico Date: Tue, 2 Feb 2010 05:45:54 +0000 (-0000) Subject: Use Package.use.enabled where appropriate. X-Git-Tag: v2.2_rc63~80 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=df12ddaa6d5d22d35a5874869395f0c8bbe61f19;p=portage.git Use Package.use.enabled where appropriate. svn path=/main/trunk/; revision=15316 --- 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,