From bc31ddb2641a30f6ac28e3bf4b536af8d2a7a022 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 Oct 2007 19:35:01 +0000 Subject: [PATCH] In portage.fetch(), condense digest check ouput to a single line for all digests. svn path=/main/trunk/; revision=8316 --- pym/portage/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 06878c61c..2295116da 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -2993,9 +2993,12 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", eout = portage.output.EOutput() eout.quiet = \ mysettings.get("PORTAGE_QUIET", None) == "1" - for digest_name in mydigests[myfile]: + digests = mydigests.get(myfile) + if digests: + digests = digests.keys() + digests.sort() eout.ebegin( - "%s %s ;-)" % (myfile, digest_name)) + "%s %s ;-)" % (myfile, " ".join(digests))) eout.eend(0) continue # fetch any remaining files -- 2.26.2