diff options
| author | Phillip J. Eby <pje@telecommunity.com> | 2006-07-10 19:18:35 (GMT) |
|---|---|---|
| committer | Phillip J. Eby <pje@telecommunity.com> | 2006-07-10 19:18:35 (GMT) |
| commit | 137ff79329ceefa9f7318c3bb97277627866c2ac (patch) | |
| tree | 7e8edfa4da92ffd3fd7706281c23b05433e16d64 /Lib/distutils/command/upload.py | |
| parent | 5d86bdb3aebb14228d3c2e3f921bda34cf1c886c (diff) | |
| download | cpython-137ff79329ceefa9f7318c3bb97277627866c2ac.zip cpython-137ff79329ceefa9f7318c3bb97277627866c2ac.tar.gz cpython-137ff79329ceefa9f7318c3bb97277627866c2ac.tar.bz2 | |
Fix SF#1457312: bad socket error handling in distutils "upload" command.
Diffstat (limited to 'Lib/distutils/command/upload.py')
| -rw-r--r-- | Lib/distutils/command/upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index 4a9ed39..67ba080 100644 --- a/Lib/distutils/command/upload.py +++ b/Lib/distutils/command/upload.py @@ -185,7 +185,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() |
