From 569ba3271a21c0f9ecf5bd7dec1ab1506cba014f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 26 Jun 2007 22:20:30 +0000 Subject: [PATCH] Add one more size == 0 check to digestgen(). (trunk r7040:7042) svn path=/main/branches/2.1.2/; revision=7043 --- pym/portage.py | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.26.2