diff --git a/VERSION b/VERSION index 6ec9b55f..f9d746ef 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2014.02.14.22.26.48 +Version 2.8.2-stable+timestamp.2014.02.14.22.30.06 diff --git a/gluon/utils.py b/gluon/utils.py index d05550b9..dbffeb4f 100644 --- a/gluon/utils.py +++ b/gluon/utils.py @@ -168,7 +168,7 @@ def secure_loads(data, encryption_key, hash_key=None, compression_level=None): if compression_level: data = zlib.decompress(data) return pickle.loads(data) - except (TypeError, pickle.UnpicklingError): + except Exception, e: return None ### compute constant CTOKENS