From 8f84e924bb5e4018f2793746ed68c7a19e742c75 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 1 Dec 2005 16:06:51 +0000 Subject: [PATCH] * src/ReportUtils.py (child_str): Initialize text. svn: r5458 --- gramps2/ChangeLog | 3 +++ gramps2/src/ReportUtils.py | 1 + 2 files changed, 4 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 9e6fe10fb..2abeec700 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-12-01 Alex Roitman + * src/ReportUtils.py (child_str): Initialize text. + 2005-11-30 Don Allingham * src/ReadGedcom.py: fix mixing note assignment * src/PeopleModel.py: streamline display diff --git a/gramps2/src/ReportUtils.py b/gramps2/src/ReportUtils.py index d4aa87580..2501afa6c 100644 --- a/gramps2/src/ReportUtils.py +++ b/gramps2/src/ReportUtils.py @@ -1743,6 +1743,7 @@ def child_str(person, father_name="", mother_name="", dead=0, person_name=0): gender = person.get_gender() + text = "" if mother_name and father_name: text = child_father_mother[gender][index][dead] % values elif mother_name: