From ecd5326e963f467e127cf19376097cef744b932c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 23 Apr 2006 06:34:43 +0000 Subject: [PATCH] Replace hard coded "size" with MANIFEST1_HASH_FUNCTIONS. svn path=/main/trunk/; revision=3193 --- pym/portage_manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage_manifest.py b/pym/portage_manifest.py index 6d412a105..1320ba235 100644 --- 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: -- 2.26.2