From cd123576b4052d996956df65d9fd2e56d57166b1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Apr 2009 21:59:26 +0000 Subject: [PATCH] Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute() since PORTAGE_RESTRICT is calculated by config.setcpv() now. svn path=/main/trunk/; revision=13575 --- pym/_emerge/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index fb642c853..fc58198f6 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1741,9 +1741,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: -- 2.26.2