man: Make sure to add new lines in the last commit.
This commit is contained in:
parent
bf3747bfdd
commit
d0c36735aa
1 changed files with 2 additions and 2 deletions
|
|
@ -432,7 +432,7 @@ def print_template(template_file, content):
|
||||||
print_template(filename, content)
|
print_template(filename, content)
|
||||||
else:
|
else:
|
||||||
line = line.replace("@content", content)
|
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:
|
finally:
|
||||||
f.close()
|
f.close()
|
||||||
|
|
@ -452,7 +452,7 @@ def wiki_output(targets, template):
|
||||||
read_wikipages()
|
read_wikipages()
|
||||||
|
|
||||||
for t in targets:
|
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):
|
def plaintext_output(targets, template_file):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue