diff --git a/VERSION b/VERSION index 331fc188..58e433e0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.8 (2012-09-13 07:46:11) stable +Version 2.0.8 (2012-09-13 08:30:17) stable diff --git a/gluon/contrib/memcache/__init__.py b/gluon/contrib/memcache/__init__.py index e8ab64d9..15817bcb 100644 --- a/gluon/contrib/memcache/__init__.py +++ b/gluon/contrib/memcache/__init__.py @@ -61,7 +61,7 @@ class MemcacheClientObj(Client): if item: if not isinstance(item,(list,tuple)): value = item - elif (item[0] < now - dt): # value expired + elif (item[0] < now - time_expire): # value expired item = None # value to be computed else: value = item[1]