1. Tarek Ziadé
  2. distribute

Commits

phillip.eby  committed 5345671

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

  • Participants
  • Parent commits bbc336b
  • Branches setuptools-0.6

Comments (0)

Files changed (1)

File setuptools/command/upload.py

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