From: Zac Medico Date: Tue, 26 Jun 2007 22:16:27 +0000 (-0000) Subject: Add one more size == 0 check to digestgen(). X-Git-Tag: v2.2_pre1~1143 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=43332e8a3754ed685bc84d7fd98c5ef0947eae3b;p=portage.git Add one more size == 0 check to digestgen(). svn path=/main/trunk/; revision=7041 --- 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: