From 25ccd8c729db238a5020c3f97082252ec4973fa9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 3 Nov 2007 16:48:06 +0000 Subject: 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 --- pym/portage.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3-1-g7c22