From b0eef2a8ba716ed21515327799c15c53a89ed695 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 12 Oct 2009 17:33:07 +0000 Subject: [PATCH] 3284: Descendant Report omits last-level spouses, by lcc svn: r13365 --- src/plugins/textreport/DescendReport.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/textreport/DescendReport.py b/src/plugins/textreport/DescendReport.py index 3ad120f23..5924f7d1d 100644 --- a/src/plugins/textreport/DescendReport.py +++ b/src/plugins/textreport/DescendReport.py @@ -144,9 +144,6 @@ class DescendantReport(Report): self.dump_dates(person) self.doc.end_paragraph() - if level >= self.max_generations: - return - for family_handle in person.get_family_handle_list(): family = self.database.get_family_from_handle(family_handle) @@ -160,6 +157,9 @@ class DescendantReport(Report): self.dump_dates(spouse) self.doc.end_paragraph() + if level >= self.max_generations: + continue + childlist = family.get_child_ref_list()[:] for child_ref in childlist: child = self.database.get_person_from_handle(child_ref.ref)