svn: r6793
This commit is contained in:
Alex Roitman 2006-05-26 23:18:36 +00:00
parent d69a14df20
commit 531b82cf59

View File

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