fix parameters

svn: r6092
This commit is contained in:
Don Allingham 2006-03-06 22:30:17 +00:00
parent b20db2bf8c
commit 0acfe774ff
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
2006-03-06 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: handle the default argument of
no_magic
* src/Editors/_EditFamily.py: handle the fact that family
information is not a simple list.

View File

@ -1162,7 +1162,7 @@ class GrampsDbBase(GrampsDBCallback):
"""
self.rprefix = self._validated_id_prefix(val,"R")
def transaction_begin(self,msg="",batch=False):
def transaction_begin(self,msg="",batch=False, match=False, no_magic=False):
"""
Creates a new Transaction tied to the current UNDO database. The
transaction has no effect until it is committed using the

View File

@ -603,7 +603,7 @@ class GrampsParser:
self.p.EndElementHandler = self.endElement
self.p.CharacterDataHandler = self.characters
self.p.ParseFile(file)
self.db.set_researcher(self.owner)
if self.home != None:
person = self.db.find_person_from_handle(self.home,self.trans)