Use new transactions with eventmerger
svn: r16772
This commit is contained in:
parent
8729e165fe
commit
6e1ed4c481
@ -211,7 +211,7 @@ class MergeEventQuery(object):
|
|||||||
|
|
||||||
self.phoenix.merge(self.titanic)
|
self.phoenix.merge(self.titanic)
|
||||||
|
|
||||||
with self.database.transaction_begin(_("Merge Event Objects")) as trans:
|
with DbTxn(_("Merge Event Objects"), self.database) as trans:
|
||||||
for person in self.database.iter_people():
|
for person in self.database.iter_people():
|
||||||
if person.has_handle_reference("Event", old_handle):
|
if person.has_handle_reference("Event", old_handle):
|
||||||
bri = person.birth_ref_index
|
bri = person.birth_ref_index
|
||||||
|
Loading…
Reference in New Issue
Block a user