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

Miss Islington (bot) webhook-mailer at python.org
Mon May 28 21:45:37 EDT 2018


https://github.com/python/cpython/commit/1827615500e94801653f67fd026a2c95930faf59
commit: 1827615500e94801653f67fd026a2c95930faf59
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018年05月28日T18:45:34-07:00
summary:
bpo-33670: Expose Sphinx errorlevel (GH-7156)
(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 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

AltStyle によって変換されたページ (->オリジナル) /