fixed bug in mem(e)cache
This commit is contained in:
1 parent
0d2414d7ec
commit
a84b9b6bf1
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
Version 2.0.8 (2012-09-13 06:55:52) stable
|
||||
Version 2.0.8 (2012-09-13 06:58:42) stable
|
||||
@@ -17,7 +17,7 @@ DEFAULT_TIME_EXPIRE = 300 # seconds (must be the same as cache.ram)
|
||||
def MemcacheClient(*a, **b):
|
||||
if not hasattr(current,'__mc_instance'):
|
||||
current.__memcache_client = MemcacheClientObj(*a, **b)
|
||||
return current.__memecache_client
|
||||
return current.__memcache_client
|
||||
|
||||
class MemcacheClientObj(Client):
|
||||
|
||||
|
||||
Reference in new issue
Block a user