summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-23 06:22:04 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-23 06:22:04 +0000
commit7d2ba8b41fdd576d213ff93c34bde0723b216698 (patch)
treead676c588409be9fcf54001dded896fa0bc43d9a
parent533134bb76704b5fa96b6fbbbf834d921d6d074d (diff)
downloadportage-7d2ba8b41fdd576d213ff93c34bde0723b216698.tar.gz
portage-7d2ba8b41fdd576d213ff93c34bde0723b216698.tar.bz2
portage-7d2ba8b41fdd576d213ff93c34bde0723b216698.zip
Remove bogus "size" manifest entries reported by vapier.
svn path=/main/trunk/; revision=3192
-rw-r--r--pym/portage_manifest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/portage_manifest.py b/pym/portage_manifest.py
index 06f6ac6ed..6d412a105 100644
--- a/pym/portage_manifest.py
+++ b/pym/portage_manifest.py
@@ -321,8 +321,9 @@ class Manifest(object):
myhashkeys = myhashes.keys()
myhashkeys.sort()
for h in myhashkeys:
- yield Manifest1Entry(type="AUX", name=digest_path,
- hashes={"size":myhashes["size"], h:myhashes[h]})
+ if h != "size":
+ yield Manifest1Entry(type="AUX", name=digest_path,
+ hashes={"size":myhashes["size"], h:myhashes[h]})
except FileNotFound:
pass