2006-06-23 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: fix syntax error with old ref formats svn: r6951
This commit is contained in:
parent
dc4b7dab9d
commit
acca9a14bd
@ -1,3 +1,6 @@
|
|||||||
|
2006-06-23 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/GrampsDb/_ReadXML.py: fix syntax error with old ref formats
|
||||||
|
|
||||||
2006-06-22 Don Allingham <don@gramps-project.org>
|
2006-06-22 Don Allingham <don@gramps-project.org>
|
||||||
* src/GrampsDb/_GrampsDbBase.py: remove unused variable
|
* src/GrampsDb/_GrampsDbBase.py: remove unused variable
|
||||||
* src/Editors/_EditPlace.py: Allow duplicate names
|
* src/Editors/_EditPlace.py: Allow duplicate names
|
||||||
|
@ -873,7 +873,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
self.db.check_person_from_handle(handle,self.trans)
|
self.db.check_person_from_handle(handle,self.trans)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
person = self.find_person_by_gramps_id(self.map_gid(attrs["ref"]))
|
person = self.find_person_by_gramps_id(self.map_gid(attrs["ref"]))
|
||||||
handle = person_handle
|
handle = person.handle
|
||||||
self.family.set_father_handle(handle)
|
self.family.set_father_handle(handle)
|
||||||
|
|
||||||
def start_mother(self,attrs):
|
def start_mother(self,attrs):
|
||||||
@ -882,7 +882,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
self.db.check_person_from_handle(handle,self.trans)
|
self.db.check_person_from_handle(handle,self.trans)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
person = self.find_person_by_gramps_id(self.map_gid(attrs["ref"]))
|
person = self.find_person_by_gramps_id(self.map_gid(attrs["ref"]))
|
||||||
handle = person_handle
|
handle = person.handle
|
||||||
self.family.set_mother_handle(handle)
|
self.family.set_mother_handle(handle)
|
||||||
|
|
||||||
def start_child(self,attrs):
|
def start_child(self,attrs):
|
||||||
@ -891,7 +891,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
self.db.check_person_from_handle(handle,self.trans)
|
self.db.check_person_from_handle(handle,self.trans)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
person = self.find_person_by_gramps_id(self.map_gid(attrs["ref"]))
|
person = self.find_person_by_gramps_id(self.map_gid(attrs["ref"]))
|
||||||
handle = person_handle
|
handle = person.handle
|
||||||
|
|
||||||
# Here we are handling the old XML, in which
|
# Here we are handling the old XML, in which
|
||||||
# frel and mrel belonged to the "childof" tag
|
# frel and mrel belonged to the "childof" tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user