From 7fd7a79f076e621c3d4c7e3342df5338c2c04ae5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 2 Nov 2007 06:41:21 +0000 Subject: [PATCH] In portage.fetch(), condense digest check output to a single line for all digests. (trunk r8316) svn path=/main/branches/2.1.2/; revision=8370 --- pym/portage.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index a2d8ce26d..3bc20c061 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2948,9 +2948,12 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", eout = 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