* src/ReadXML.py (stop_ref): Properly read id-based witness

reference created by old gramps.


svn: r4915
This commit is contained in:
Alex Roitman 2005-07-10 05:15:09 +00:00
parent 830356f1fd
commit de14b57b81
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-07-09 Alex Roitman <shura@gramps-project.org>
* src/ReadXML.py (stop_ref): Properly read id-based witness
reference created by old gramps.
2005-07-09 Julio Sanchez <jsanchez@users.sourceforge.net>
* src/docgen/OpenOfficeDoc.py: Make the output conform to the DTDs
for OpenOffice.org XML

View File

@ -1126,7 +1126,8 @@ class GrampsParser:
self.name = None
def stop_ref(self,tag):
self.witness = RelLib.Witness(RelLib.Event.ID,tag)
person = self.find_person_by_gramps_id(self.map_gid(tag))
self.witness = RelLib.Witness(RelLib.Event.ID,person.get_handle())
def stop_place(self,tag):
if self.placeobj == None: