fixed dt = time_expire in memcache, thanks Bruno

This commit is contained in:
mdipierro
2012-09-13 08:30:20 -05:00
parent a63e24cd9d
commit d242f56398
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.0.8 (2012-09-13 07:46:11) stable
Version 2.0.8 (2012-09-13 08:30:17) stable

View File

@@ -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]