From 3900b53f30ecbc65f31e3f7ff7c96ab87be95165 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 16 Jun 2003 16:24:17 +0000 Subject: [PATCH] 2003-06-16 Tim Waugh * src/FamilyView.py (north_american): Fixed traceback when adding a new child in the family view. svn: r1752 --- ChangeLog | 4 ++++ src/FamilyView.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d765b7a59..42b337026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-06-16 Tim Waugh + * src/FamilyView.py (north_american): Fixed traceback when adding + a new child in the family view. + 2003-06-16 Alex Roitman * src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py: Remove options_dialog function -- it is not nedded anymore. diff --git a/src/FamilyView.py b/src/FamilyView.py index f5e6f9010..755da4b11 100644 --- a/src/FamilyView.py +++ b/src/FamilyView.py @@ -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()