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 25cc7f9da8
commit b2aebebfb1

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: