#10510: Fix bug in forward port of 2.7 distutils patch.

Pointed out by Arfrever.
This commit is contained in:
R David Murray 2014-09-28 11:01:42 -04:00
commit c081262be6
3 changed files with 77 additions and 3 deletions

View file

@ -162,7 +162,6 @@ class upload(PyPIRCCommand):
if value and value[-1:] == b'\r':
body.write(b'\n') # write an extra newline (lurve Macs)
body.write(end_boundary)
body.write(b"\r\n")
body = body.getvalue()
msg = "Submitting %s to %s" % (filename, self.repository)