From: Zac Medico Date: Sun, 23 Apr 2006 06:34:43 +0000 (-0000) Subject: Replace hard coded "size" with MANIFEST1_HASH_FUNCTIONS. X-Git-Tag: v2.1_pre10~81 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ecd5326e963f467e127cf19376097cef744b932c;p=portage.git Replace hard coded "size" with MANIFEST1_HASH_FUNCTIONS. svn path=/main/trunk/; revision=3193 --- 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: