Check for empty person in dump_parent
svn: r1072
This commit is contained in:
parent
25cc7f9da8
commit
b2aebebfb1
@ -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