commit d0c36735aaeb178d936fc7434d5e3a4b356430d6
Author: Mike Swanson <mikeonthecomputer@gmail.com>
AuthorDate: Thu Jan 19 13:03:00 2017 -0800
Commit: Mike Swanson <mikeonthecomputer@gmail.com>
CommitDate: Thu Jan 19 13:03:00 2017 -0800
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):