From 3ff9abbbdd0436084d00cdf4f59e1d98b13831d9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 13 Oct 2008 20:52:07 +0000 Subject: [PATCH] Make sure the pkg_nofetch phase is only called once when in fetchonly mode. svn path=/main/trunk/; revision=11689 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2