4666: GEDCOM import into a black database crashes trunk, OK with 3.2.5
svn: r16692
This commit is contained in:
parent
1923e77a87
commit
45b99dabd2
@ -2282,8 +2282,8 @@ class GedcomParser(UpdateCallback):
|
||||
Parses the opened GEDCOM file.
|
||||
"""
|
||||
no_magic = self.maxpeople < 1000
|
||||
with DbTxn(_("GEDCOM import"), self.dbase, not use_trans, no_magic
|
||||
) as self.trans:
|
||||
with DbTxn(_("GEDCOM import"), self.dbase, not use_trans,
|
||||
no_magic=no_magic) as self.trans:
|
||||
|
||||
self.dbase.disable_signals()
|
||||
self.__parse_header_head()
|
||||
|
Loading…
Reference in New Issue
Block a user