[Python-checkins] bpo-33670: Expose Sphinx errorlevel (GH-7156)

Steve Dower webhook-mailer at python.org
Mon May 28 19:28:24 EDT 2018


https://github.com/python/cpython/commit/8c1ad0c4f69390fded09012e1ed5242c45753bb4
commit: 8c1ad0c4f69390fded09012e1ed5242c45753bb4
branch: master
author: Andrés Delfino <adelfino at gmail.com>
committer: Steve Dower <steve.dower at microsoft.com>
date: 2018-05-28T16:28:22-07:00
summary:

bpo-33670: Expose Sphinx errorlevel (GH-7156)

files:
M Doc/make.bat

diff --git a/Doc/make.bat b/Doc/make.bat
index 3a4b365689db..7ca84979a300 100644
--- a/Doc/make.bat
+++ b/Doc/make.bat
@@ -22,7 +22,7 @@ if not defined SPHINXBUILD (
         %PYTHON% -m pip install python-docs-theme
         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 BLURB (



More information about the Python-checkins mailing list