From de031c84d519d00891418d043ffc7a6e2efa19e4 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 21 Sep 2014 15:18:53 +0200 Subject: [PATCH] Remove unused if/else clause, since it doesn't change anything --- docsite/build-site.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docsite/build-site.py b/docsite/build-site.py index 70755b8a282..587a189f077 100755 --- a/docsite/build-site.py +++ b/docsite/build-site.py @@ -88,14 +88,7 @@ if __name__ == '__main__': 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