Check for empty person in dump_parent
svn: r1072
This commit is contained in:
parent
35398dddc1
commit
9aa7072c54
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user