* src/plugins/DetDescendantReport.py (write_write_children):

Properly check for henry number; (write_mate): omit children list.


svn: r5416
This commit is contained in:
Alex Roitman 2005-11-22 18:36:55 +00:00
parent c75ab29845
commit ee731ba0f1
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-11-22 Alex Roitman <shura@gramps-project.org>
* src/plugins/DetDescendantReport.py (write_write_children):
Properly check for henry number; (write_mate): omit children list.
2005-11-22 Don Allingham <don@gramps-project.org>
* src/plugins/NavWebPage.py: Fix output_notebook remains.

View File

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