* various: Change Person.male, Person.female, and Person.unkwown

to Person.MALE, Person.FEMALE and Person.UNKNOWN

* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin


svn: r4008
This commit is contained in:
Don Allingham
2005-02-01 03:46:29 +00:00
parent 724e5b89ca
commit f7df43643f
47 changed files with 1861 additions and 482 deletions

View File

@ -931,11 +931,11 @@ class GedcomParser:
note = self.parse_note(matches,self.person,1,note)
elif matches[1] == "SEX":
if matches[2] == '':
self.person.set_gender(RelLib.Person.unknown)
self.person.set_gender(RelLib.Person.UNKNOWN)
elif matches[2][0] == "M":
self.person.set_gender(RelLib.Person.male)
self.person.set_gender(RelLib.Person.MALE)
else:
self.person.set_gender(RelLib.Person.female)
self.person.set_gender(RelLib.Person.FEMALE)
elif matches[1] in [ "BAPL", "ENDL", "SLGC" ]:
lds_ord = RelLib.LdsOrd()
if matches[1] == "BAPL":