Commit 91bf058c authored by Jason R. Coombs's avatar Jason R. Coombs

Issue #12853: Correct NameError in distutils upload command.

parent 6afafc7e
......@@ -177,7 +177,7 @@ class upload(PyPIRCCommand):
status = result.getcode()
reason = result.msg
if self.show_response:
msg = '\n'.join(('-' * 75, r.read(), '-' * 75))
msg = '\n'.join(('-' * 75, result.read(), '-' * 75))
self.announce(msg, log.INFO)
except socket.error, e:
self.announce(str(e), log.ERROR)
......
......@@ -12,6 +12,8 @@ Core and Builtins
Library
-------
- Issue #12853: Fix NameError in distutils.command.upload.
- Issue #19523: Closed FileHandler leak which occurred when delay was set.
- Issue #1575020: Fixed support of 24-bit wave files on big-endian platforms.
......
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