From 76f1afe06d1eb3cf4b5ebf8fbe9c8df3bb72fffb Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Thu, 25 Jan 2007 12:54:57 +0000 Subject: [PATCH] * src/plugins/IndivComplete.py: Put children on new lines svn: r7981 --- ChangeLog | 3 +++ src/plugins/IndivComplete.py | 11 +++-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1e0ccea9..1a08e2a3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-01-25 Brian Matherly + * src/plugins/IndivComplete.py: Put children on new lines + 2007-01-24 Don Allingham * src/Editors/_EditSourceRef.py: remove debug statements * src/AddMedia.py: remove debug statements diff --git a/src/plugins/IndivComplete.py b/src/plugins/IndivComplete.py index 8ffe9792a..cf453708f 100644 --- a/src/plugins/IndivComplete.py +++ b/src/plugins/IndivComplete.py @@ -360,19 +360,14 @@ class IndivCompleteReport(Report): self.normal_cell(_("Children")) self.doc.start_cell("IDS-ListCell") - self.doc.start_paragraph("IDS-Normal") - - first = 1 + for child_ref in child_ref_list: - if first == 1: - first = 0 - else: - self.doc.write_text('\n') + self.doc.start_paragraph("IDS-Normal") child = self.database.get_person_from_handle(child_ref.ref) name = _nd.display(child) mark = ReportUtils.get_person_mark(self.database,child) self.doc.write_text(name,mark) - self.doc.end_paragraph() + self.doc.end_paragraph() self.doc.end_cell() self.doc.end_row() self.doc.end_table()