projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1603675
)
Catch IOError when loading the mtimedb.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 25 Apr 2006 03:48:04 +0000
(
03:48
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 25 Apr 2006 03:48:04 +0000
(
03:48
-0000)
svn path=/main/trunk/; revision=3222
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 1dc1a999c4bd8d8b12b374f7187b96c632f56a63..b957b2071389a43004b2e7d1edf6c6d796db862b 100644
(file)
--- 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()