summaryrefslogtreecommitdiffstats
path: root/pym/portage/util/mtimedb.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/util/mtimedb.py')
-rw-r--r--pym/portage/util/mtimedb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util/mtimedb.py b/pym/portage/util/mtimedb.py
index bc4f97c53..8079aa9ea 100644
--- a/pym/portage/util/mtimedb.py
+++ b/pym/portage/util/mtimedb.py
@@ -34,7 +34,7 @@ class MtimeDB(dict):
d = mypickle.load()
f.close()
del f
- except (AttributeError, EnvironmentError, ValueError, pickle.UnpicklingError) as e:
+ except (AttributeError, EOFError, EnvironmentError, ValueError, pickle.UnpicklingError) as e:
if isinstance(e, EnvironmentError) and \
getattr(e, 'errno', None) in (errno.ENOENT, errno.EACCES):
pass