From b22de39a25ec12b4b0bc0aac35541ce74bd62bac Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Fri, 19 Feb 2016 03:10:55 -0800 Subject: [PATCH] correct indentation in books.xml --- gramps/gen/plug/report/_book.py | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/gramps/gen/plug/report/_book.py b/gramps/gen/plug/report/_book.py index d37370a49..b4073d65b 100644 --- a/gramps/gen/plug/report/_book.py +++ b/gramps/gen/plug/report/_book.py @@ -464,15 +464,15 @@ class BookList(object): for name in sorted(self.bookmap): # enable a diff of archived copies book = self.get_book(name) dbname = book.get_dbname() - f.write('\n' % (name, dbname) ) + f.write(' \n' % (name, dbname) ) for item in book.get_item_list(): - f.write(' \n' % - (item.get_name(),item.get_translated_name() ) ) + f.write(' \n' % + (item.get_name(), item.get_translated_name() ) ) options = item.option_class.handler.options_dict for option_name in sorted(options.keys()): # enable a diff option_value = options[option_name] if isinstance(option_value, (list, tuple)): - f.write(' \n') + f.write(' \n') else: option_type = type_name(option_value) value = escape(str(option_value)) value = value.replace('"', '"') - f.write('