From d0c36735aaeb178d936fc7434d5e3a4b356430d6 Mon Sep 17 00:00:00 2001 From: Mike Swanson Date: Thu, 19 Jan 2017 13:03:00 -0800 Subject: [PATCH] man: Make sure to add new lines in the last commit. --- man/docgen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/docgen b/man/docgen index d40e5c7b..5b5f4f83 100755 --- a/man/docgen +++ b/man/docgen @@ -432,7 +432,7 @@ def print_template(template_file, content): print_template(filename, content) else: line = line.replace("@content", content) - sys.stdout.buffer.write(line.rstrip().encode('UTF-8')) + sys.stdout.buffer.write(line.rstrip().encode('UTF-8') + b'\n') finally: f.close() @@ -452,7 +452,7 @@ def wiki_output(targets, template): read_wikipages() for t in targets: - sys.stdout.buffer.write(t.wiki_output().encode('UTF-8')) + sys.stdout.buffer.write(t.wiki_output().encode('UTF-8') + b'\n') def plaintext_output(targets, template_file):