projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
632ce63
)
Make verify_all() do checksums in sorted order by hash name. (trunk r15318)
author
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 20:06:58 +0000
(20:06 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 20:06:58 +0000
(20:06 -0000)
svn path=/main/branches/2.1.7/; revision=15553
pym/portage/checksum.py
patch
|
blob
|
history
diff --git
a/pym/portage/checksum.py
b/pym/portage/checksum.py
index 6b849d5d7715fc8648fa8d0c57b5702021e29acc..badde3daf716d2fcff7519dcc3e374200e1c00d5 100644
(file)
--- 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: