From 5de7e777cc66215a8394938233c33941baa41e24 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Tue, 24 Jul 2007 11:53:35 +0000 Subject: [PATCH] Contribution from Robert Cawley : Invalid output when duplicate persons detected in Detailed descendant report(#0001124) svn: r8769 --- ChangeLog | 4 ++++ src/plugins/DetDescendantReport.py | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f8e4972b7..8a4704211 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-07-24 Robert Cawley + * src/plugins/DetDescendantReport.py: Invalid output when duplicate persons + detected in Detailed descendant report (#0001124) + 2007-07-23 Johan Gonqvist * src/plugins/NarrativeWeb.py: NarrativeWeb links incorrect in windows. (#0001117) diff --git a/src/plugins/DetDescendantReport.py b/src/plugins/DetDescendantReport.py index 29486f157..7cf27b891 100644 --- a/src/plugins/DetDescendantReport.py +++ b/src/plugins/DetDescendantReport.py @@ -4,6 +4,7 @@ # Copyright (C) 2000-2002 Bruce J. DeGrasse # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007 Brian G. Matherly +# Copyright (C) 2007 Robert Cawley # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -231,7 +232,6 @@ class DetDescendantReport(Report): else: self.doc.write_text("%s. " % self.endnotes(person)) self.doc.end_bold() - self.doc.end_paragraph() if self.dupPerson: # Check for duplicate record (result of distant cousins marrying) @@ -245,7 +245,9 @@ class DetDescendantReport(Report): { 'name' : '', 'id_str' : str(dkey) }) self.doc.end_paragraph() return - + + self.doc.end_paragraph() + self.write_person_info(person) if self.listChildren or self.includeEvents or self.includeMates: