From a572d4d348be6b27036a494b31a57e4f80a2f595 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 27 Jul 2006 08:12:52 +0000 Subject: Ensure that that fetch restriction message is only show once in --pretend mode. svn path=/main/trunk/; revision=4029 --- pym/portage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage.py b/pym/portage.py index 663741e90..ad2c72c1c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2143,6 +2143,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", print "!!! manually. See the comments in" + \ " the ebuild for more information.\n" spawn(EBUILD_SH_BINARY + " nofetch", mysettings) + if listonly: + return 0 if (fetched!=2) and not listonly: if restrict_fetch: pass -- cgit v1.2.3-1-g7c22