work around for difference cursor.set behaviour
svn: r5569
This commit is contained in:
parent
2fce6de7e9
commit
9c1db9ff45
@ -513,8 +513,11 @@ class GrampsBSDDB(GrampsDbBase):
|
||||
existing_references = set()
|
||||
|
||||
primary_cur = self.get_reference_map_primary_cursor()
|
||||
|
||||
ret = primary_cur.set(handle)
|
||||
|
||||
try:
|
||||
ret = primary_cur.set(handle)
|
||||
except:
|
||||
ret = None
|
||||
|
||||
while (ret is not None):
|
||||
(key,data) = ret
|
||||
|
Loading…
Reference in New Issue
Block a user