summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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