fixed gae_memcache increment bug, issue 1079, thanks in4tunio

This commit is contained in:
mdipierro
2012-10-10 11:21:01 -05:00
parent d5cdcf9285
commit 66aeff12fc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.1.0 (2012-10-10 11:03:48) dev
Version 2.1.0 (2012-10-10 11:20:58) dev
+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):