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