From: Zac Medico Date: Sat, 3 Nov 2007 16:48:06 +0000 (-0000) Subject: In portage.fetch(), condense digest check output to a single X-Git-Tag: v2.1.3.19~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=25ccd8c729db238a5020c3f97082252ec4973fa9;p=portage.git In portage.fetch(), condense digest check output to a single line for all digests. (trunk r8385) svn path=/main/branches/2.1.2/; revision=8394 --- diff --git a/pym/portage.py b/pym/portage.py index e27680ae9..fbb42d8cf 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -3126,8 +3126,10 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", else: eout = 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