From: Andrés Delfino Date: Mon, 28 May 2018 23:28:22 +0000 (-0300) Subject: bpo-33670: Expose Sphinx errorlevel (GH-7156) X-Git-Tag: v3.8.0a1~1739 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c1ad0c4f69390fded09012e1ed5242c45753bb4;p=python bpo-33670: Expose Sphinx errorlevel (GH-7156) --- diff --git a/Doc/make.bat b/Doc/make.bat index 3a4b365689..7ca84979a3 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 (