#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:11 -04:00
parent 9c1dba2758
commit 623ae29469
3 changed files with 77 additions and 3 deletions

View file

@ -164,7 +164,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()
self.announce("Submitting %s to %s" % (filename, self.repository), log.INFO)