Commits

Anonymous committed 5345671

Fix broken error message for socket error during upload.
(backport from trunk)

Comments (0)

Files changed (1)

setuptools/command/upload.py

             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()