aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-03 20:51:19 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-03 20:51:19 +0000
commit5527b61fb49d0136a8faa89edf9bdf80a20066a9 (patch)
tree29e0d587220dadc5417cb601512861526189a558 /pym/portage/checksum.py
parentBug #295197 - Output a newline after valid user input is received. (diff)
downloadportage-5527b61fb49d0136a8faa89edf9bdf80a20066a9.tar.gz
portage-5527b61fb49d0136a8faa89edf9bdf80a20066a9.tar.bz2
portage-5527b61fb49d0136a8faa89edf9bdf80a20066a9.zip
Make verify_all() do checksums in sorted order by hash name.
svn path=/main/trunk/; revision=15318
Diffstat (limited to 'pym/portage/checksum.py')
-rw-r--r--pym/portage/checksum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py
index 6b849d5d7..badde3daf 100644
--- a/pym/portage/checksum.py
+++ b/pym/portage/checksum.py
@@ -186,7 +186,7 @@ def verify_all(filename, mydict, calc_prelink=0, strict=0):
got = " ".join(got)
return False, (_("Insufficient data for checksum verification"), got, expected)
- for x in mydict:
+ for x in sorted(mydict):
if x == "size":
continue
elif x in hashfunc_map: