* src/GrampsDb/_ReadXML.py (parse): Properly set batch transaction.

svn: r5794
This commit is contained in:
Alex Roitman 2006-01-19 04:18:12 +00:00
parent a3acfecb1a
commit 84c0e8f9a8
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,7 @@
* src/GrampsDb/_GrampsBSDDB.py (rebuild_secondary): Proper * src/GrampsDb/_GrampsBSDDB.py (rebuild_secondary): Proper
rebuild; convert surnames secondary index to DUPSORTed BTREE. rebuild; convert surnames secondary index to DUPSORTed BTREE.
* src/GrampsDb/_GrampsBSDDB.py: upgrade from gramps20. * src/GrampsDb/_GrampsBSDDB.py: upgrade from gramps20.
* src/GrampsDb/_ReadXML.py (parse): Properly set batch transaction.
2006-01-17 Don Allingham <don@gramps-project.org> 2006-01-17 Don Allingham <don@gramps-project.org>
* src/DbPrompter.py: removed * src/DbPrompter.py: removed

View File

@ -590,8 +590,7 @@ class GrampsParser:
def parse(self,file,use_trans=True,linecount=0): def parse(self,file,use_trans=True,linecount=0):
self.trans = self.db.transaction_begin() self.trans = self.db.transaction_begin("",batch=True)
self.trans.set_batch(True)
self.linecount = linecount self.linecount = linecount
self.db.disable_signals() self.db.disable_signals()