* src/plugins/WriteFtree.py (FtreeWriter.export): make sure that the

parents are in the id_map array


svn: r2509
This commit is contained in:
Don Allingham 2003-12-12 04:32:48 +00:00
parent b2ea447b6b
commit af26f92abb

View File

@ -203,9 +203,9 @@ class FtreeWriter:
family = p.getMainParents() family = p.getMainParents()
if family: if family:
if family.getFather(): if family.getFather() and id_map.has_key(family.getFather().getId()):
father = id_map[family.getFather().getId()] father = id_map[family.getFather().getId()]
if family.getMother(): if family.getMother() and id_map.has_key(family.getMother().getId()):
mother = id_map[family.getMother().getId()] mother = id_map[family.getMother().getId()]
# #