From 7be12778b2641adedfb8d78c52fb3897e94b8df7 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Fri, 29 Mar 2013 19:39:21 +0000 Subject: [PATCH] 6417: alpha4 filtering screws up Export svn: r21811 --- gramps/gen/db/read.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gen/db/read.py b/gramps/gen/db/read.py index c8aab4abd..d0d8705a7 100644 --- a/gramps/gen/db/read.py +++ b/gramps/gen/db/read.py @@ -79,7 +79,7 @@ from ..utils.cast import conv_dbstr_to_unicode from . import (BsddbBaseCursor, DbReadBase) from ..utils.id import create_id from ..errors import DbError -from ..constfunc import UNITYPE, STRTYPE, cuni +from ..constfunc import UNITYPE, STRTYPE, cuni, handle2internal from ..const import GRAMPS_LOCALE as glocale LOG = logging.getLogger(DBLOGNAME) @@ -1098,7 +1098,7 @@ class DbBsddbRead(DbReadBase, Callback): def g(self): with curs_(self) as cursor: for key, data in cursor: - yield key + yield handle2internal(key) return g # Use closure to define iterators for each primary object type