work around for difference cursor.set behaviour
svn: r5569
This commit is contained in:
parent
e68a559e74
commit
1a42ccf0fd
@ -514,7 +514,10 @@ class GrampsBSDDB(GrampsDbBase):
|
|||||||
|
|
||||||
primary_cur = self.get_reference_map_primary_cursor()
|
primary_cur = self.get_reference_map_primary_cursor()
|
||||||
|
|
||||||
|
try:
|
||||||
ret = primary_cur.set(handle)
|
ret = primary_cur.set(handle)
|
||||||
|
except:
|
||||||
|
ret = None
|
||||||
|
|
||||||
while (ret is not None):
|
while (ret is not None):
|
||||||
(key,data) = ret
|
(key,data) = ret
|
||||||
|
Loading…
Reference in New Issue
Block a user