pylint and mistake on half_sibling
svn: r11054
This commit is contained in:
parent
90e82e8c03
commit
65960ec923
@ -555,14 +555,16 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
|
||||
rel_str = "la belle-sœur"
|
||||
else:
|
||||
rel_str = "le beau-frère ou la belle-sœur"
|
||||
elif sib_type == self.HALF_SIB_FATHER:
|
||||
#il faut penser à "mères différentes" (enfin, je crois !)
|
||||
elif sib_type == self.HALF_SIB_MOTHER:
|
||||
if gender_b == gen.lib.Person.MALE:
|
||||
rel_str = "le demi-frère consanguin"
|
||||
elif gender_b == gen.lib.Person.FEMALE:
|
||||
rel_str = "la demi-sœur consanguine"
|
||||
else:
|
||||
rel_str = "le demi-frère ou la demi-sœur consanguin(e)"
|
||||
elif sib_type == self.HALF_SIB_MOTHER:
|
||||
#il faut penser à "pères différents" (enfin, je crois !)
|
||||
elif sib_type == self.HALF_SIB_FATHER:
|
||||
if gender_b == gen.lib.Person.MALE:
|
||||
rel_str = "le demi-frère utérin"
|
||||
elif gender_b == gen.lib.Person.FEMALE:
|
||||
|
Loading…
Reference in New Issue
Block a user