Skip to content

Commit

Permalink
Remove unused if/else clause, since it doesn't change anything
Browse files Browse the repository at this point in the history
mscherer committed Sep 21, 2014
1 parent 1bae4e4 commit de031c8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docsite/build-site.py
Original file line number Diff line number Diff line change
@@ -88,14 +88,7 @@ def build_rst_docs():
print " Run 'make viewdocs' to build and then preview in a web browser."
sys.exit(0)

# The 'htmldocs' make target will call this scrip twith the 'rst'
# parameter' We don't need to run the 'htmlman' target then.
if "rst" in sys.argv:
build_rst_docs()
else:
# By default, preform the rst->html transformation and then
# the asciidoc->html trasnformation
build_rst_docs()
build_rst_docs()

if "view" in sys.argv:
import webbrowser

0 comments on commit de031c8

Please sign in to comment.