From: Zac Medico Date: Sat, 3 Nov 2007 01:54:33 +0000 (-0000) Subject: In portage.fetch(), condense digest check output to a single X-Git-Tag: v2.2_pre1~460 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=66f9a0e6c2bf39084055918e518e2f1660eeac95;p=portage.git In portage.fetch(), condense digest check output to a single line for all digests. svn path=/main/trunk/; revision=8385 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 96d6d7cfe..d609d2b6e 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3171,8 +3171,10 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", else: eout = portage.output.EOutput() eout.quiet = mysettings.get("PORTAGE_QUIET", None) == "1" - for x_key in mydigests[myfile]: - eout.ebegin("%s %s ;-)" % (myfile, x_key)) + digests = mydigests.get(myfile) + if digests: + eout.ebegin("%s %s ;-)" % \ + (myfile, " ".join(sorted(digests)))) eout.eend(0) fetched=2 break