From d6178047eb3c0b4fe54bfc5657c64a0decf9d246 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Wed, 2 May 2012 17:26:14 -0500 Subject: [PATCH] removed as in cache.py --- VERSION | 2 +- gluon/cache.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()