projects
/
platform
/
upstream
/
gobject-introspection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Catch ValueError exceptions.
[platform/upstream/gobject-introspection.git]
/
giscanner
/
cachestore.py
diff --git
a/giscanner/cachestore.py
b/giscanner/cachestore.py
index
11c5d75
..
bd3d864
100644
(file)
--- a/
giscanner/cachestore.py
+++ b/
giscanner/cachestore.py
@@
-106,7
+106,7
@@
class CacheStore(object):
return None
try:
data = cPickle.load(fd)
- except (EOFError, cPickle.BadPickleGet):
+ except (EOFError,
ValueError,
cPickle.BadPickleGet):
# Broken cache entry, remove it
self._purge_cache(store_filename)
data = None