diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-01-18 12:43:12 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-01-18 14:26:05 -0800 |
commit | 511f8329823f0383187d9d3b6d71cd62ff6b32e2 (patch) | |
tree | 7113e9d926b42a865cc1aa75bf04f3cda507f29e /pym/_emerge/EbuildBuild.py | |
parent | 903114640c5f84cd4e40da72f2e7ab286fa8995c (diff) | |
download | portage-511f8329823f0383187d9d3b6d71cd62ff6b32e2.tar.gz portage-511f8329823f0383187d9d3b6d71cd62ff6b32e2.tar.bz2 portage-511f8329823f0383187d9d3b6d71cd62ff6b32e2.zip |
doebuild_environent: handle A/AA initialization
This allows elimination of duplicate code, some of which was introduced
by the fix for bug #351505.
Diffstat (limited to 'pym/_emerge/EbuildBuild.py')
-rw-r--r-- | pym/_emerge/EbuildBuild.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pym/_emerge/EbuildBuild.py b/pym/_emerge/EbuildBuild.py index 54d81263b..5645eade9 100644 --- a/pym/_emerge/EbuildBuild.py +++ b/pym/_emerge/EbuildBuild.py @@ -226,13 +226,6 @@ class EbuildBuild(CompositeTask): return self.returncode = None - if "A" not in self.settings.configdict["pkg"]: - mytree = os.path.dirname(os.path.dirname( - 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.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) self._start_task(nofetch_phase, self._nofetch_exit) |