projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2ba8b
)
Replace hard coded "size" with MANIFEST1_HASH_FUNCTIONS.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 23 Apr 2006 06:34:43 +0000
(06:34 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 23 Apr 2006 06:34:43 +0000
(06:34 -0000)
svn path=/main/trunk/; revision=3193
pym/portage_manifest.py
patch
|
blob
|
history
diff --git
a/pym/portage_manifest.py
b/pym/portage_manifest.py
index 6d412a105f88396ebe661e92a7db91c32e985c72..1320ba235dfd4ca28df675b62537f3606df507cc 100644
(file)
--- a/
pym/portage_manifest.py
+++ b/
pym/portage_manifest.py
@@
-321,7
+321,7
@@
class Manifest(object):
myhashkeys = myhashes.keys()
myhashkeys.sort()
for h in myhashkeys:
- if h
!= "size"
:
+ if h
in portage_const.MANIFEST1_HASH_FUNCTIONS
:
yield Manifest1Entry(type="AUX", name=digest_path,
hashes={"size":myhashes["size"], h:myhashes[h]})
except FileNotFound: