typo in previous commit
svn: r9152
This commit is contained in:
parent
a0c9947dbd
commit
054e251754
@ -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']))
|
||||||
|
Loading…
Reference in New Issue
Block a user