summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-03 01:54:33 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-03 01:54:33 +0000
commit66f9a0e6c2bf39084055918e518e2f1660eeac95 (patch)
tree6385eb72916c1551880dd35f7eb3dd59944bd2e8 /pym
parentf55b1c37b34fc86f164626c709c8189143a120f2 (diff)
downloadportage-66f9a0e6c2bf39084055918e518e2f1660eeac95.tar.gz
portage-66f9a0e6c2bf39084055918e518e2f1660eeac95.tar.bz2
portage-66f9a0e6c2bf39084055918e518e2f1660eeac95.zip
In portage.fetch(), condense digest check output to a single
line for all digests. svn path=/main/trunk/; revision=8385
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py6
1 files 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