diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-14 19:18:39 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-14 19:18:39 +0200 |
commit | a566549211d48775b6573e74dc55dd0fcde0600b (patch) | |
tree | 4d22ddea7465a167b3532578b4e9719628944a6a /Lib/distutils/command/upload.py | |
parent | 2f64ebcf0395bd3ee8cf4a8a1e74c73f1c5ab3c4 (diff) | |
parent | ef41f59e7544eae3e38815a5c8bc8f5a944d0b13 (diff) | |
download | cpython-a566549211d48775b6573e74dc55dd0fcde0600b.tar.gz |
Issue #17919: Fixed integer overflow in the eventmask parameter.
Diffstat (limited to 'Lib/distutils/command/upload.py')
-rw-r--r-- | Lib/distutils/command/upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index d2bc82cea3..287158343b 100644 --- a/Lib/distutils/command/upload.py +++ b/Lib/distutils/command/upload.py @@ -182,7 +182,7 @@ class upload(PyPIRCCommand): result = urlopen(request) status = result.getcode() reason = result.msg - except socket.error as e: + except OSError as e: self.announce(str(e), log.ERROR) return except HTTPError as e: |