From 6e1ed4c4817f27c13daaf1f8229a65268ead4ad4 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 7 Mar 2011 08:09:18 +0000 Subject: [PATCH] Use new transactions with eventmerger svn: r16772 --- src/Merge/mergeevent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Merge/mergeevent.py b/src/Merge/mergeevent.py index f54abbca3..519f69029 100644 --- a/src/Merge/mergeevent.py +++ b/src/Merge/mergeevent.py @@ -211,7 +211,7 @@ class MergeEventQuery(object): 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(): if person.has_handle_reference("Event", old_handle): bri = person.birth_ref_index