summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-13 20:52:07 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-13 20:52:07 +0000
commit3ff9abbbdd0436084d00cdf4f59e1d98b13831d9 (patch)
tree9de2e05097f070b89f1f8d1ffceea92d565cb5d4 /pym
parent02126ce1d4f4f4f10b7531d77bccdfc6e362ee55 (diff)
downloadportage-3ff9abbbdd0436084d00cdf4f59e1d98b13831d9.tar.gz
portage-3ff9abbbdd0436084d00cdf4f59e1d98b13831d9.tar.bz2
portage-3ff9abbbdd0436084d00cdf4f59e1d98b13831d9.zip
Make sure the pkg_nofetch phase is only called once when in fetchonly mode.
svn path=/main/trunk/; revision=11689
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
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