From 1a618c3a2ec18929658aad405bf7063640979a83 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 5 Jul 2015 13:42:12 -0700 Subject: [PATCH] 8623: Detailed Descendant Report - only first family event output --- gramps/plugins/textreport/detdescendantreport.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/textreport/detdescendantreport.py b/gramps/plugins/textreport/detdescendantreport.py index 9c996d76d..6ffd3fa87 100644 --- a/gramps/plugins/textreport/detdescendantreport.py +++ b/gramps/plugins/textreport/detdescendantreport.py @@ -693,7 +693,7 @@ class DetDescendantReport(Report): mother_name, father_name = self.__get_mate_names(family) - first = 1 + first = True for event_ref in family.get_event_ref_list(): if first: self.doc.start_paragraph('DDR-MoreHeader') @@ -702,9 +702,9 @@ class DetDescendantReport(Report): % {'mother_name' : mother_name, 'father_name' : father_name }) self.doc.end_paragraph() - first = 0 + first = False self.write_event(event_ref) - return first + return first def __write_family_attrs(self, family, first): """