* src/GrampsDb/_ReadXML.py (parse): Properly set batch transaction.
svn: r5794
This commit is contained in:
parent
a3acfecb1a
commit
84c0e8f9a8
@ -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 <don@gramps-project.org>
|
||||
* src/DbPrompter.py: removed
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user