merge fix on branch rev15295
svn: r15327
This commit is contained in:
1 parent
788b731168
commit
e2e3065cfb
1 file changed
+1
-1
@@ -306,7 +306,7 @@ class ProxyDbBase(DbReadBase):
|
||||
"""
|
||||
Returns obj if predicate is True or not callable, else returns None
|
||||
"""
|
||||
if predicate is not None:
|
||||
if predicate is not None and obj is not None:
|
||||
return obj if predicate(obj.handle) else None
|
||||
return obj
|
||||
|
||||
|
||||
Reference in new issue
Block a user