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 1dc1a999c..b957b2071 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6837,7 +6837,7 @@ try:
mtimedb = load_mtimedb(f)
f.close()
del f
-except OSError:
+except (IOError, OSError):
mtimedb = {"updates":{}, "version":"", "starttime":0}
features=settings["FEATURES"].split()