From 66f9a0e6c2bf39084055918e518e2f1660eeac95 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 3 Nov 2007 01:54:33 +0000 Subject: [PATCH] In portage.fetch(), condense digest check output to a single line for all digests. svn path=/main/trunk/; revision=8385 --- pym/portage/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.26.2