diff options
Diffstat (limited to 'giscanner/cachestore.py')
-rw-r--r-- | giscanner/cachestore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/cachestore.py b/giscanner/cachestore.py index 58b3193c..857dc725 100644 --- a/giscanner/cachestore.py +++ b/giscanner/cachestore.py @@ -178,7 +178,7 @@ class CacheStore(object): return None try: data = pickle.load(fd) - except (AttributeError, EOFError, ValueError, pickle.BadPickleGet): + except Exception: # Broken cache entry, remove it self._remove_filename(store_filename) data = None |