summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-26 22:16:27 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-26 22:16:27 +0000
commit43332e8a3754ed685bc84d7fd98c5ef0947eae3b (patch)
treedb92185c68b507a36ef7dc7422bb984f4000520c /pym
parent3b2ca22b58636f93560c45d036627fe337b080ea (diff)
downloadportage-43332e8a3754ed685bc84d7fd98c5ef0947eae3b.tar.gz
portage-43332e8a3754ed685bc84d7fd98c5ef0947eae3b.tar.bz2
portage-43332e8a3754ed685bc84d7fd98c5ef0947eae3b.zip
Add one more size == 0 check to digestgen().
svn path=/main/trunk/; revision=7041
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 3e56e8373..36953e687 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2978,6 +2978,8 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None
continue
if required_hash_types.difference(myhashes):
missing_hashes.add(myfile)
+ if myhashes["size"] == 0:
+ missing_hashes.add(myfile)
if missing_hashes:
missing_files = []
for myfile in missing_hashes: