diff options
-rw-r--r-- | pym/portage.py | 2 |
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} # ======================================================================== |