fixed gae_memcache increment bug, issue 1079, thanks in4tunio
This commit is contained in:
1 parent
3c4a142f9a
commit
66de02929b
2 files changed
+2
-2
No files matched your search
@@ -44,7 +44,7 @@ class MemcacheClient(Client):
|
||||
obj = self.get(key)
|
||||
if obj:
|
||||
value = obj[1] + value
|
||||
self.set((time.time(), value))
|
||||
self.set(key, (time.time(), value))
|
||||
return value
|
||||
|
||||
def clear(self, key = None):
|
||||
|
||||
Reference in new issue
Block a user