typo in previous commit

svn: r9152
This commit is contained in:
Benny Malengier 2007-10-11 22:52:00 +00:00
parent a0c9947dbd
commit 054e251754

View File

@ -1333,7 +1333,7 @@ class GrampsParser(UpdateCallback):
self.reporef = gen.lib.RepoRef() self.reporef = gen.lib.RepoRef()
try: try:
handle = attrs['hlink'].replace('_', '') handle = attrs['hlink'].replace('_', '')
self.db.check_repository_from_handle(handle, self.trans self.db.check_repository_from_handle(handle, self.trans,
set_gid = False) set_gid = False)
except KeyError: except KeyError:
repo = self.find_repo_by_gramps_id(self.map_rid(attrs['ref'])) repo = self.find_repo_by_gramps_id(self.map_rid(attrs['ref']))
@ -1351,7 +1351,7 @@ class GrampsParser(UpdateCallback):
self.objref = gen.lib.MediaRef() self.objref = gen.lib.MediaRef()
try: try:
handle = attrs['hlink'].replace('_', '') handle = attrs['hlink'].replace('_', '')
self.db.check_object_from_handle(handle, self.trans self.db.check_object_from_handle(handle, self.trans,
set_gid = False) set_gid = False)
except KeyError: except KeyError:
obj = self.find_object_by_gramps_id(self.map_oid(attrs['ref'])) obj = self.find_object_by_gramps_id(self.map_oid(attrs['ref']))