diff --git a/VERSION b/VERSION index a8b8296a..23574b19 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-05-02 17:13:20) dev +Version 1.99.7 (2012-05-02 17:25:52) dev diff --git a/gluon/cache.py b/gluon/cache.py index 4ca5f685..a6c53549 100644 --- a/gluon/cache.py +++ b/gluon/cache.py @@ -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()