summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-26 19:35:01 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-26 19:35:01 +0000
commitbc31ddb2641a30f6ac28e3bf4b536af8d2a7a022 (patch)
treedb1a0f956ff8e654dde429689a31053f36d3024f
parent9915319b594ce940893a7449fec755b24ea73d50 (diff)
downloadportage-bc31ddb2641a30f6ac28e3bf4b536af8d2a7a022.tar.gz
portage-bc31ddb2641a30f6ac28e3bf4b536af8d2a7a022.tar.bz2
portage-bc31ddb2641a30f6ac28e3bf4b536af8d2a7a022.zip
In portage.fetch(), condense digest check ouput to a single
line for all digests. svn path=/main/trunk/; revision=8316
-rw-r--r--pym/portage/__init__.py7
1 files 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