diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 82d8536f6..923b8c127 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -11,6 +11,7 @@ * src/GrampsDb/_GrampsBSDDB.py (rebuild_secondary): Proper rebuild; convert surnames secondary index to DUPSORTed BTREE. * src/GrampsDb/_GrampsBSDDB.py: upgrade from gramps20. + * src/GrampsDb/_ReadXML.py (parse): Properly set batch transaction. 2006-01-17 Don Allingham * src/DbPrompter.py: removed diff --git a/gramps2/src/GrampsDb/_ReadXML.py b/gramps2/src/GrampsDb/_ReadXML.py index e9249450d..0fa45a508 100644 --- a/gramps2/src/GrampsDb/_ReadXML.py +++ b/gramps2/src/GrampsDb/_ReadXML.py @@ -590,8 +590,7 @@ class GrampsParser: def parse(self,file,use_trans=True,linecount=0): - self.trans = self.db.transaction_begin() - self.trans.set_batch(True) + self.trans = self.db.transaction_begin("",batch=True) self.linecount = linecount self.db.disable_signals()