Kaydet (Commit) 137ff793 authored tarafından Phillip J. Eby's avatar Phillip J. Eby

Fix SF#1457312: bad socket error handling in distutils "upload" command.

üst 5d86bdb3
...@@ -185,7 +185,7 @@ class upload(Command): ...@@ -185,7 +185,7 @@ class upload(Command):
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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment