6417: alpha4 filtering screws up Export
svn: r21811
This commit is contained in:
parent
33ec71c6f7
commit
7be12778b2
@ -79,7 +79,7 @@ from ..utils.cast import conv_dbstr_to_unicode
|
|||||||
from . import (BsddbBaseCursor, DbReadBase)
|
from . import (BsddbBaseCursor, DbReadBase)
|
||||||
from ..utils.id import create_id
|
from ..utils.id import create_id
|
||||||
from ..errors import DbError
|
from ..errors import DbError
|
||||||
from ..constfunc import UNITYPE, STRTYPE, cuni
|
from ..constfunc import UNITYPE, STRTYPE, cuni, handle2internal
|
||||||
from ..const import GRAMPS_LOCALE as glocale
|
from ..const import GRAMPS_LOCALE as glocale
|
||||||
|
|
||||||
LOG = logging.getLogger(DBLOGNAME)
|
LOG = logging.getLogger(DBLOGNAME)
|
||||||
@ -1098,7 +1098,7 @@ class DbBsddbRead(DbReadBase, Callback):
|
|||||||
def g(self):
|
def g(self):
|
||||||
with curs_(self) as cursor:
|
with curs_(self) as cursor:
|
||||||
for key, data in cursor:
|
for key, data in cursor:
|
||||||
yield key
|
yield handle2internal(key)
|
||||||
return g
|
return g
|
||||||
|
|
||||||
# Use closure to define iterators for each primary object type
|
# Use closure to define iterators for each primary object type
|
||||||
|
Loading…
Reference in New Issue
Block a user