From: Zac Medico Date: Tue, 26 Jun 2007 22:20:30 +0000 (-0000) Subject: Add one more size == 0 check to digestgen(). (trunk r7040:7042) X-Git-Tag: v2.1.3~138 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=569ba3271a21c0f9ecf5bd7dec1ab1506cba014f;p=portage.git Add one more size == 0 check to digestgen(). (trunk r7040:7042) svn path=/main/branches/2.1.2/; revision=7043 --- diff --git a/pym/portage.py b/pym/portage.py index 9f5818b95..361e8b1a7 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2868,6 +2868,9 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None continue if required_hash_types.difference(myhashes): missing_hashes.add(myfile) + continue + if myhashes["size"] == 0: + missing_hashes.add(myfile) if missing_hashes: missing_files = [] for myfile in missing_hashes: