projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c25c996
)
Catch UnpicklingError when loading the mtimedb (reported by marienz).
author
Zac Medico
<zmedico@gentoo.org>
Mon, 9 Oct 2006 20:26:21 +0000
(20:26 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 9 Oct 2006 20:26:21 +0000
(20:26 -0000)
svn path=/main/trunk/; revision=4638
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 579c3f5a06c37921a88382bb07e64742a376a095..c0286ca09c0de8358fc7721e10fd9cbc4deb3510 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-6897,7
+6897,7
@@
class MtimeDB(dict):
d = mypickle.load()
f.close()
del f
- except (IOError, OSError, EOFError):
+ except (IOError, OSError, EOFError
, cPickle.UnpicklingError
):
d = {}
if "old" in d: