diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-04-30 22:00:48 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-04-30 22:00:48 +0000 |
commit | e3bd98b6d9bd33f1d81ecd15858e237434133174 (patch) | |
tree | c3121b2faa87112073717efbf7f8da4035e43041 | |
parent | In config.setcpv() reuse split USE from built packages instead of splitting (diff) | |
download | portage-e3bd98b6d9bd33f1d81ecd15858e237434133174.tar.gz portage-e3bd98b6d9bd33f1d81ecd15858e237434133174.tar.bz2 portage-e3bd98b6d9bd33f1d81ecd15858e237434133174.zip |
Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute()
since PORTAGE_RESTRICT is calculated by config.setcpv() now. (trunk r13575)
svn path=/main/branches/2.1.6/; revision=13576
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index aa9abbee8..0d14d6a98 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1722,9 +1722,6 @@ class EbuildFetchonly(SlotObject): ebuild_path = portdb.findname(pkg.cpv) settings.setcpv(pkg) debug = settings.get("PORTAGE_DEBUG") == "1" - use_cache = 1 # always true - portage.doebuild_environment(ebuild_path, "fetch", - settings["ROOT"], settings, debug, use_cache, portdb) restrict_fetch = 'fetch' in settings['PORTAGE_RESTRICT'].split() if restrict_fetch: |