aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/upload.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/upload.py')
-rwxr-xr-xsetuptools/command/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/upload.py b/setuptools/command/upload.py
index 644c400a..685ce43b 100755
--- a/setuptools/command/upload.py
+++ b/setuptools/command/upload.py
@@ -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()