fixed memdb anc session issue 1885
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.9.3-stable+timestamp.2014.03.04.22.27.25
|
Version 2.9.3-stable+timestamp.2014.03.04.22.32.31
|
||||||
|
|||||||
@@ -292,8 +292,11 @@ class Table(DALStorage):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self._tablename
|
return self._tablename
|
||||||
|
|
||||||
def __call__(self, id):
|
def __call__(self, id, **kwargs):
|
||||||
return self.get(id)
|
record = self.get(id)
|
||||||
|
if kwargs and any(record[key]!=kwargs[key] for key in kwargs):
|
||||||
|
return None
|
||||||
|
return record
|
||||||
|
|
||||||
class Expression(object):
|
class Expression(object):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user