From 93170f1e2a6e772627e2963b81cfa98b814e2859 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Thu, 26 Sep 2013 20:32:53 +0000 Subject: [PATCH] 7037: proxy crash with complex person filter reapply to trunk after retest by Mirko svn: r23204 --- gramps/gen/proxy/proxybase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/proxy/proxybase.py b/gramps/gen/proxy/proxybase.py index 3d703b58e..681b408e1 100644 --- a/gramps/gen/proxy/proxybase.py +++ b/gramps/gen/proxy/proxybase.py @@ -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):