Handle unknown gender

svn: r1237
This commit is contained in:
Don Allingham 2003-01-03 02:18:54 +00:00
parent 4966e07594
commit 9464131a0d

View File

@ -262,8 +262,10 @@ class IndividualPage:
if self.person.getGender() == Person.male:
self.write_normal_row("%s:" % _("Gender"), _("Male"),None)
else:
elif self.person.getGender() == Person.female:
self.write_normal_row("%s:" % _("Gender"), _("Female"),None)
else:
self.write_normal_row("%s:" % _("Gender"), _("Unknown"), None)
family = self.person.getMainParents()
if family: