svn: r6793
This commit is contained in:
Alex Roitman 2006-05-26 23:18:36 +00:00
parent b9cd8ee6c8
commit 440c275639

View File

@ -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")