[Python-checkins] [2.7] bpo-33670: Expose Sphinx errorlevel (GH-7156). (GH-7201)
Steve Dower
webhook-mailer at python.org
Tue May 29 18:30:53 EDT 2018
https://github.com/python/cpython/commit/5583ef4777452e79278de80755d403f1c5b7781d
commit: 5583ef4777452e79278de80755d403f1c5b7781d
branch: 2.7
author: Andrés Delfino <adelfino at gmail.com>
committer: Steve Dower <steve.dower at microsoft.com>
date: 2018-05-29T15:30:50-07:00
summary:
[2.7] bpo-33670: Expose Sphinx errorlevel (GH-7156). (GH-7201)
(cherry picked from commit 8c1ad0c4f69390fded09012e1ed5242c45753bb4)
Co-authored-by: Andrés Delfino <adelfino at gmail.com>
files:
M Doc/make.bat
diff --git a/Doc/make.bat b/Doc/make.bat
index ae6224ab4ca3..d50c0c36ed4b 100644
--- a/Doc/make.bat
+++ b/Doc/make.bat
@@ -13,7 +13,7 @@ if not defined SPHINXBUILD if defined PYTHON (
%PYTHON% -m pip install sphinx
if errorlevel 1 exit /B
)
- set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sphinx.main()"
+ set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sys.exit(sphinx.main())"
)
if not defined PYTHON set PYTHON=py
More information about the Python-checkins
mailing list