Skip to content

Commit b391d06

Browse files
committedMay 23, 2015
exit properly
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 06286f9 commit b391d06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎nikola/plugins/command/rst2html/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ def _execute(self, options, args):
6262
html = b'<!DOCTYPE html>\n' + lxml.html.tostring(doc, encoding='utf8', method='html', pretty_print=True)
6363
print(html)
6464
if error_level < 3:
65-
return 0
65+
exit(0)
6666
else:
67-
return 1
67+
exit(1)

0 commit comments

Comments
 (0)