From ee731ba0f12d8193f16bf95f0bee544090ca7028 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 22 Nov 2005 18:36:55 +0000 Subject: [PATCH] * src/plugins/DetDescendantReport.py (write_write_children): Properly check for henry number; (write_mate): omit children list. svn: r5416 --- gramps2/ChangeLog | 4 ++++ gramps2/src/plugins/DetDescendantReport.py | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 0769aa4c6..044169488 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-11-22 Alex Roitman + * src/plugins/DetDescendantReport.py (write_write_children): + Properly check for henry number; (write_mate): omit children list. + 2005-11-22 Don Allingham * src/plugins/NavWebPage.py: Fix output_notebook remains. diff --git a/gramps2/src/plugins/DetDescendantReport.py b/gramps2/src/plugins/DetDescendantReport.py index 232d07051..e1fefb65f 100644 --- a/gramps2/src/plugins/DetDescendantReport.py +++ b/gramps2/src/plugins/DetDescendantReport.py @@ -437,7 +437,7 @@ class DetDescendantReport(Report.Report): ReportUtils.roman(cnt).lower() + ".") cnt += 1 - if self.henry[child_handle]: + if self.henry.has_key(child_handle): self.doc.write_text("%s [%s]. " % (child_name, self.henry[child_handle])) else: @@ -495,8 +495,6 @@ class DetDescendantReport(Report.Report): self.doc.end_paragraph() - if self.listChildren and mate.get_gender()==RelLib.Person.MALE: - self.write_children(family) def calc_age(self,ind): """