mirror of
https://github.com/python/cpython.git
synced 2025-11-08 17:41:42 +00:00
Fix SF#1457312: bad socket error handling in distutils "upload" command.
This commit is contained in:
parent
5d86bdb3ae
commit
137ff79329
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ def upload_file(self, command, pyversion, filename):
|
||||||
http.endheaders()
|
http.endheaders()
|
||||||
http.send(body)
|
http.send(body)
|
||||||
except socket.error, e:
|
except socket.error, e:
|
||||||
self.announce(e.msg, log.ERROR)
|
self.announce(str(e), log.ERROR)
|
||||||
return
|
return
|
||||||
|
|
||||||
r = http.getresponse()
|
r = http.getresponse()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue