summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-09-28 15:01:11 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-09-28 15:01:11 (GMT)
commit623ae294694dcf11eced4a9d24abf66a571a9d04 (patch)
tree9edc16ebe79e2c044b8ed41de24e3fae8a156e2b /Lib/distutils/command
parent9c1dba2758fc601f6c4d7fe2aeb62272ffd688a8 (diff)
downloadcpython-623ae294694dcf11eced4a9d24abf66a571a9d04.zip
cpython-623ae294694dcf11eced4a9d24abf66a571a9d04.tar.gz
cpython-623ae294694dcf11eced4a9d24abf66a571a9d04.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 9b15b67..1a96e22 100644
--- a/Lib/distutils/command/upload.py
+++ b/Lib/distutils/command/upload.py
@@ -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)