2003-06-16 Tim Waugh <twaugh@redhat.com>

* src/FamilyView.py (north_american): Fixed traceback when adding
        a new child in the family view.


svn: r1752
This commit is contained in:
Tim Waugh 2003-06-16 16:24:17 +00:00
parent 1b85923e09
commit 90337c2baa
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-06-16 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (north_american): Fixed traceback when adding
a new child in the family view.
2003-06-16 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Remove options_dialog function -- it is not nedded anymore.

View File

@ -689,7 +689,7 @@ class FamilyView:
sel_data.set(sel_data.target, bits_per, data)
def north_american(self,val):
if self.person.getGender() == Person.male:
if self.person.getGender() == RelLib.Person.male:
return self.person.getPrimaryName().getSurname()
elif self.family:
f = self.family.getFather()