3284: Descendant Report omits last-level spouses, by lcc

svn: r13365
This commit is contained in:
Doug Blank 2009-10-12 17:33:07 +00:00
parent 5504df77ba
commit b0eef2a8ba

View File

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