* src/GrampsDb/_ReadGrdb.py (importData): Properly set batch

transaction.
* src/plugins/Check.py: Properly set batch transaction.
* src/plugins/ImportGeneWeb.py: Properly set batch transaction.
* src/plugins/ImportvCard.py: Properly set batch transaction.
* src/plugins/TestCaseGenerator.py: Properly set batch transaction.


svn: r5796
This commit is contained in:
Alex Roitman
2006-01-19 04:30:40 +00:00
parent 13676fb42f
commit d0ddac1282
7 changed files with 20 additions and 16 deletions

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2005 Martin Hawlisch, Donald N. Allingham
# Copyright (C) 2000-2006 Martin Hawlisch, Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -119,8 +119,7 @@ class GeneWebParser:
return line
def parse_geneweb_file(self):
self.trans = self.db.transaction_begin()
self.trans.set_batch(True)
self.trans = self.db.transaction_begin("",batch=True)
self.db.disable_signals()
t = time.time()
self.lineno = 0