Skip to content
Permalink
Browse files

exit properly

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 23, 2015
1 parent 06286f9 commit b391d061f018f042a52245fe36fe15cd38ed8083
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/command/rst2html/__init__.py
@@ -62,6 +62,6 @@ def _execute(self, options, args):
html = b'<!DOCTYPE html>\n' + lxml.html.tostring(doc, encoding='utf8', method='html', pretty_print=True)
print(html)
if error_level < 3:
return 0
exit(0)
else:
return 1
exit(1)

0 comments on commit b391d06

Please sign in to comment.
You can’t perform that action at this time.