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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21722>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to