From 515c0b80304bf4042ef306668f19d6cb22ba12ad Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Fri, 31 Oct 2014 12:06:14 +0100 Subject: [PATCH] dn2osdbk: Add a new line at the end of index pages Change-Id: I3dac90b774b41d7c5aac908ae0ee61ec42c210ce --- os_doc_tools/dn2osdbk.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/os_doc_tools/dn2osdbk.py b/os_doc_tools/dn2osdbk.py index 14f3eca8..2ef1a4db 100644 --- a/os_doc_tools/dn2osdbk.py +++ b/os_doc_tools/dn2osdbk.py @@ -177,7 +177,8 @@ class BookTransformer(BaseFolderTransformer): %(title)s %(includes)s -''' % {'xml_id': xml_id, 'title': self.title, 'includes': includes} + +''' % {'xml_id': xml_id, 'title': self.title, 'includes': includes} open(output_file, 'w').write(output) @@ -203,7 +204,8 @@ class ChapterTransformer(BaseFolderTransformer): %(title) %(includes)s -''' % {'xml_id': xml_id, 'title': self.title, 'includes': includes} + +''' % {'xml_id': xml_id, 'title': self.title, 'includes': includes} open(output_file, 'w').write(output)