From: Zac Medico Date: Mon, 13 Oct 2008 20:52:07 +0000 (-0000) Subject: Make sure the pkg_nofetch phase is only called once when in fetchonly mode. X-Git-Tag: v2.2_rc13~89 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3ff9abbbdd0436084d00cdf4f59e1d98b13831d9;p=portage.git Make sure the pkg_nofetch phase is only called once when in fetchonly mode. svn path=/main/trunk/; revision=11689 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index b799996da..e03753196 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4106,7 +4106,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", else: writemsg("!!! Couldn't download '%s'. Aborting.\n" % myfile, noiselevel=-1) - if fetchonly: + if fetchonly and not restrict_fetch: failed_files.add(myfile) continue return 0