2008-11-18 Johan Dahlin <jdahlin@async.com.br>
* giscanner/cachestore.py:
Catch BadPickleGet exceptions as well.
svn path=/trunk/; revision=942
+2008-11-18 Johan Dahlin <jdahlin@async.com.br>
+
+ * giscanner/cachestore.py:
+ Catch BadPickleGet exceptions as well.
+
2008-11-17 Owen Taylor <otaylor@redhat.com>
* tests/everything/everything.c: Fix doc comment annotations
return None
try:
data = cPickle.load(fd)
- except EOFError:
+ except (EOFError, cPickle.BadPickleGet):
# Broken cache entry, remove it
self._purge_cache(store_filename)
data = None