summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-09-28 15:01:42 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-09-28 15:01:42 (GMT)
commitc081262be6ceed935f56e9d21a9cefe02097223e (patch)
tree09ba32df4521a7c5e23ee1a9239ec70897b0476e /Lib/distutils/command
parentbe4de52fb1ef023bdfdf2e601dd6eb7b9e5e6657 (diff)
parent623ae294694dcf11eced4a9d24abf66a571a9d04 (diff)
downloadcpython-c081262be6ceed935f56e9d21a9cefe02097223e.zip
cpython-c081262be6ceed935f56e9d21a9cefe02097223e.tar.gz
cpython-c081262be6ceed935f56e9d21a9cefe02097223e.tar.bz2
#10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/upload.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py
index e3f6f69..1c4fc48 100644
--- a/Lib/distutils/command/upload.py
+++ b/Lib/distutils/command/upload.py
@@ -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)