From 63d16e30856e857e530224e4fba672f1cf54a509 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 2 Sep 2003 02:59:19 +0000 Subject: [PATCH] * src/plugins/BookReport.py (BookList.save): Enable saving options which are lists; (BookParser.startElement, BookParser.endElement): Enable parsing options which are lists. svn: r2078 --- gramps2/ChangeLog | 4 ++++ gramps2/src/plugins/BookReport.py | 24 ++++++++++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 4ff610c02..d42efc37a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -3,6 +3,10 @@ * src/docgen/SvgDrawDoc.py: Change from Text/DrawDoc to BaseDoc 2003-09-01 Alex Roitman + * src/plugins/BookReport.py (BookList.save): Enable saving options + which are lists; + (BookParser.startElement, BookParser.endElement): Enable parsing + options which are lists. * src/PaperMenu.py: Change from TextDoc to BaseDoc. * src/Report.py: Likewise. * src/SpreadSheetDoc.py: Likewise. diff --git a/gramps2/src/plugins/BookReport.py b/gramps2/src/plugins/BookReport.py index 3eeaa0ae1..d4c629f81 100644 --- a/gramps2/src/plugins/BookReport.py +++ b/gramps2/src/plugins/BookReport.py @@ -376,8 +376,16 @@ class BookList: f.write(' \n' % item.get_name() ) options = item.get_options() for opt_index in range(len(options)): - f.write(' \n') + else: + f.write('