diff options
-rw-r--r-- | pym/portage/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 860eea38b..5e6fc9125 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4259,9 +4259,6 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None missing_files.append(myfile) continue size = myhashes.get("size") - if size == 0: - missing_files.append(myfile) - continue try: st = os.stat(os.path.join(mysettings["DISTDIR"], myfile)) @@ -4269,6 +4266,9 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None if e.errno != errno.ENOENT: raise del e + if size == 0: + missing_files.append(myfile) + continue if required_hash_types.difference(myhashes): missing_files.append(myfile) continue |