Fix broken pkg.use.enabled ref from last commit. v2.2.0_alpha17
authorZac Medico <zmedico@gentoo.org>
Tue, 18 Jan 2011 01:48:54 +0000 (17:48 -0800)
committerZac Medico <zmedico@gentoo.org>
Tue, 18 Jan 2011 01:48:54 +0000 (17:48 -0800)
pym/_emerge/EbuildBuild.py

index 2c4f2b2829eb1b0ca70d8b2ae8f15c472fd8a6ce..23509584201fd694a93589772048c5311dfac9cc 100644 (file)
@@ -231,7 +231,7 @@ class EbuildBuild(CompositeTask):
                                os.path.dirname(self._ebuild_path)))
                        portdb = self.pkg.root_config.trees[self._tree].dbapi
                        fetch_map = portdb.getFetchMap(self.pkg.cpv,
-                               useflags=self.pkg.use, mytree=mytree)
+                               useflags=self.pkg.use.enabled, mytree=mytree)
                        self.settings.configdict["pkg"]["A"] = " ".join(fetch_map)
                nofetch_phase = EbuildPhase(background=self.background,
                        phase='nofetch', scheduler=self.scheduler, settings=self.settings)