From: Zac Medico Date: Wed, 3 Feb 2010 20:51:19 +0000 (-0000) Subject: Make verify_all() do checksums in sorted order by hash name. X-Git-Tag: v2.2_rc63~78 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5527b61fb49d0136a8faa89edf9bdf80a20066a9;p=portage.git Make verify_all() do checksums in sorted order by hash name. svn path=/main/trunk/; revision=15318 --- 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: