Check for empty person in dump_parent

svn: r1072
This commit is contained in:
Don Allingham 2002-07-07 13:10:51 +00:00
parent 35398dddc1
commit 9aa7072c54

View File

@ -112,6 +112,9 @@ class FamilyGroup:
def dump_parent(self,person): def dump_parent(self,person):
if not person:
return
if person.getGender() == RelLib.Person.male: if person.getGender() == RelLib.Person.male:
id = _("Husband") id = _("Husband")
else: else: