removed gql.py and added gae memcache incr
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.5.1-stable+timestamp.2013.06.17.10.41.11
|
Version 2.5.1-stable+timestamp.2013.06.18.04.41.46
|
||||||
|
|||||||
@@ -48,6 +48,9 @@ class MemcacheClient(object):
|
|||||||
self.client.set(key, (time.time(), value))
|
self.client.set(key, (time.time(), value))
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
def incr(self, key, value=1):
|
||||||
|
return self.increment(key, value)
|
||||||
|
|
||||||
def clear(self, key=None):
|
def clear(self, key=None):
|
||||||
if key:
|
if key:
|
||||||
key = '%s/%s' % (self.request.application, key)
|
key = '%s/%s' % (self.request.application, key)
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
# this file exists for backward compatibility
|
|
||||||
|
|
||||||
__all__ = ['DAL', 'Field', 'drivers', 'gae']
|
|
||||||
|
|
||||||
from gluon.dal import DAL, Field, Table, Query, Set, Expression, Row, Rows, drivers, BaseAdapter, SQLField, SQLTable, SQLXorable, SQLQuery, SQLSet, SQLRows, SQLStorage, SQLDB, GQLDB, SQLALL, SQLCustomType, gae
|
|
||||||
Reference in New Issue
Block a user