gobject-introspection r942 - in trunk: . giscanner
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r942 - in trunk: . giscanner
- Date: Tue, 18 Nov 2008 11:02:24 +0000 (UTC)
Author: johan
Date: Tue Nov 18 11:02:24 2008
New Revision: 942
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=942&view=rev
Log:
2008-11-18 Johan Dahlin <jdahlin async com br>
* giscanner/cachestore.py:
Catch BadPickleGet exceptions as well.
Modified:
trunk/ChangeLog
trunk/giscanner/cachestore.py
Modified: trunk/giscanner/cachestore.py
==============================================================================
--- trunk/giscanner/cachestore.py (original)
+++ trunk/giscanner/cachestore.py Tue Nov 18 11:02:24 2008
@@ -106,7 +106,7 @@
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]