7037: proxy crash with complex person filter
reapply to trunk after retest by Mirko svn: r23204
This commit is contained in:
parent
d29ea3775f
commit
93170f1e2a
@ -384,7 +384,7 @@ class ProxyDbBase(DbReadBase):
|
||||
@staticmethod
|
||||
def __iter_object(selector, method):
|
||||
""" Helper function to return an iterator over an object class """
|
||||
return filter(lambda obj: (selector is None or list(selector(obj.handle))),
|
||||
return filter(lambda obj: ((selector is None) or selector(obj.handle)),
|
||||
method())
|
||||
|
||||
def iter_people(self):
|
||||
|
Loading…
Reference in New Issue
Block a user