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