Commit dc749c30 authored by PJ Eby's avatar PJ Eby

Fix broken error message for socket error during upload.

(backport from trunk)

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050530
parent cf2cb97a
......@@ -164,7 +164,7 @@ class upload(Command):
http.endheaders()
http.send(body)
except socket.error, e:
self.announce(e.msg, log.ERROR)
self.announce(str(e), log.ERROR)
return
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