From: Zac Medico Date: Thu, 27 Jul 2006 08:12:52 +0000 (-0000) Subject: Ensure that that fetch restriction message is only show once in --pretend mode. X-Git-Tag: v2.1.1~136 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a572d4d348be6b27036a494b31a57e4f80a2f595;p=portage.git Ensure that that fetch restriction message is only show once in --pretend mode. svn path=/main/trunk/; revision=4029 --- 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