removed as in cache.py
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.7 (2012-05-02 17:13:20) dev
|
||||
Version 1.99.7 (2012-05-02 17:25:52) dev
|
||||
|
||||
+1
-1
@@ -248,7 +248,7 @@ class CacheOnDisk(CacheAbstract):
|
||||
storage = shelve.open(self.shelve_name)
|
||||
storage.close = _close.__get__(storage, shelve.Shelf)
|
||||
storage.locker = locker
|
||||
except (Exception) as detail:
|
||||
except Exception:
|
||||
logger.error('corrupted cache file %s, will try to delete and recreate it!' % (self.shelve_name))
|
||||
if storage:
|
||||
storage.close()
|
||||
|
||||
Reference in New Issue
Block a user