* src/plugins/DetAncestralReport.py: add import of string

* src/plugins/DetDescendantReport.py: add import of string
* src/Date.py: compare date modes when comparing dates
* src/EditPerson.py: save date strings which comparing for changes
* src/FamilyView.py: Scope Person.male properly


svn: r1839
This commit is contained in:
Don Allingham
2003-07-08 00:42:26 +00:00
parent a129809402
commit 5384b63ffa
5 changed files with 15 additions and 4 deletions

View File

@ -754,14 +754,14 @@ class FamilyView:
def icelandic(self,val):
fname = ""
if self.person.getGender() == Person.male:
if self.person.getGender() == RelLib.Person.male:
fname = self.person.getPrimaryName().getFirstName()
elif self.family:
f = self.family.getFather()
if f:
fname = f.getPrimaryName().getFirstName()
if fname:
fname = string.split(fname)[0]
fname = fname.split()[0]
if val == 0:
return "%ssson" % fname
elif val == 1: