From: Zac Medico Date: Fri, 26 Oct 2007 19:35:01 +0000 (-0000) Subject: In portage.fetch(), condense digest check ouput to a single X-Git-Tag: v2.2_pre1~498 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc31ddb2641a30f6ac28e3bf4b536af8d2a7a022;p=portage.git In portage.fetch(), condense digest check ouput to a single line for all digests. svn path=/main/trunk/; revision=8316 --- 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