diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-10-13 20:52:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-10-13 20:52:07 +0000 |
commit | 3ff9abbbdd0436084d00cdf4f59e1d98b13831d9 (patch) | |
tree | 9de2e05097f070b89f1f8d1ffceea92d565cb5d4 | |
parent | 02126ce1d4f4f4f10b7531d77bccdfc6e362ee55 (diff) | |
download | portage-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
-rw-r--r-- | pym/portage/__init__.py | 2 |
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 |