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): """