[issue21722] teach distutils "upload" to exit with code != 0 when error occurs
Martin Dengler
report at bugs.python.org
Wed Jun 11 17:13:10 CEST 2014
New submission from Martin Dengler:
This patch teaches distutils/command/upload.py to return a non-zero exit code when uploading fails. Currently a zero error code is returned (specifically, no Exception is raised by upload.run(...)) regardless of the HTTP response from the server or any socket error during that conversation.
Should be applied against tip.
Thanks.
----------
components: Library (Lib)
files: cpython-patch-Lib-distutils-command-upload.py.patch
keywords: patch
messages: 220276
nosy: mdengler
priority: normal
severity: normal
status: open
title: teach distutils "upload" to exit with code != 0 when error occurs
versions: Python 2.7, Python 3.5
Added file: http://bugs.python.org/file35572/cpython-patch-Lib-distutils-command-upload.py.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21722>
_______________________________________
More information about the Python-bugs-list
mailing list