fixed gae_memcache increment bug, issue 1079, thanks in4tunio

This commit is contained in:
mdipierro committed 2012-10-10 11:21:01 -05:00
1 parent 3c4a142f9a
commit 66de02929b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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):