summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index e2e575af9..fb7679d59 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6941,7 +6941,7 @@ def init_legacy_globals():
mtimedb = load_mtimedb(f)
f.close()
del f
- except (IOError, OSError):
+ except (IOError, OSError, EOFError):
mtimedb = {"updates":{}, "ldpath":{}, "version":"", "starttime":0}
# ========================================================================