Remove unused if/else clause, since it doesn't change anything
This commit is contained in:
parent
1bae4e4df1
commit
de031c84d5
1 changed files with 1 additions and 8 deletions
|
@ -88,14 +88,7 @@ if __name__ == '__main__':
|
||||||
print " Run 'make viewdocs' to build and then preview in a web browser."
|
print " Run 'make viewdocs' to build and then preview in a web browser."
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
# The 'htmldocs' make target will call this scrip twith the 'rst'
|
build_rst_docs()
|
||||||
# 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()
|
|
||||||
|
|
||||||
if "view" in sys.argv:
|
if "view" in sys.argv:
|
||||||
import webbrowser
|
import webbrowser
|
||||||
|
|
Loading…
Reference in a new issue