mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
This commit is contained in:
parent
9c1dba2758
commit
623ae29469
3 changed files with 77 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue