Update
svn: r6793
This commit is contained in:
parent
d69a14df20
commit
531b82cf59
@ -812,7 +812,7 @@ class UnknownGender(PersonRule):
|
|||||||
def broken(self):
|
def broken(self):
|
||||||
female = self.obj.get_gender() == RelLib.Person.FEMALE
|
female = self.obj.get_gender() == RelLib.Person.FEMALE
|
||||||
male = self.obj.get_gender() == RelLib.Person.MALE
|
male = self.obj.get_gender() == RelLib.Person.MALE
|
||||||
return (male or female)
|
return not (male or female)
|
||||||
|
|
||||||
def get_message(self):
|
def get_message(self):
|
||||||
return _("Unknown gender")
|
return _("Unknown gender")
|
||||||
|
Loading…
Reference in New Issue
Block a user