Revert "9899: polish; gen.lib.person arlready called, make test on gender more clear"
This reverts commit fe763b7490c69a331f3931a488294549c3ee29e3.
This commit is contained in:
parent
b31f6922dd
commit
8841d13a7e
@ -700,9 +700,9 @@ def parents_labels(db, family):
|
|||||||
if len(family.get_child_ref_list()) > 0:
|
if len(family.get_child_ref_list()) > 0:
|
||||||
rel_father = _('Father')
|
rel_father = _('Father')
|
||||||
rel_mother = _('Mother')
|
rel_mother = _('Mother')
|
||||||
if father.gender == Person.FEMALE:
|
if father.gender == 0:
|
||||||
rel_father = rel_mother
|
rel_father = rel_mother
|
||||||
if mother.gender == Person.MALE:
|
if mother.gender == 1:
|
||||||
rel_mother = _('Father')
|
rel_mother = _('Father')
|
||||||
else:
|
else:
|
||||||
rc = RelationshipCalculator()
|
rc = RelationshipCalculator()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user