removed gql.py and added gae memcache incr
This commit is contained in:
1 parent
676dc2e377
commit
ad61a61d91
3 files changed
+4
-6
No files matched your search
@@ -47,6 +47,9 @@ class MemcacheClient(object):
|
||||
value = obj[1] + value
|
||||
self.client.set(key, (time.time(), value))
|
||||
return value
|
||||
|
||||
def incr(self, key, value=1):
|
||||
return self.increment(key, value)
|
||||
|
||||
def clear(self, key=None):
|
||||
if key:
|
||||
|
||||
Reference in new issue
Block a user