From: Zac Medico Date: Thu, 30 Apr 2009 21:59:26 +0000 (-0000) Subject: Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute() X-Git-Tag: v2.2_rc32~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd123576b4052d996956df65d9fd2e56d57166b1;p=portage.git Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute() since PORTAGE_RESTRICT is calculated by config.setcpv() now. svn path=/main/trunk/; revision=13575 --- 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: