diff options
author | Éric Araujo <merwok@netwok.org> | 2010-09-08 00:00:45 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2010-09-08 00:00:45 (GMT) |
commit | 51e01a6f7a59e06b89b860d71c821569910ef894 (patch) | |
tree | 281beb425708509a6e72c1c265ed3459b033929a /Lib | |
parent | 480504b15084d06d35fe09f06ea026496212631b (diff) | |
download | cpython-51e01a6f7a59e06b89b860d71c821569910ef894.zip cpython-51e01a6f7a59e06b89b860d71c821569910ef894.tar.gz cpython-51e01a6f7a59e06b89b860d71c821569910ef894.tar.bz2 |
Follow-up to #9199: Fix str.join use, add newlines.
Thanks to Konrad Delong for writing a test for upload_docs
--show-response in distutils2, letting me catch my mistake.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/command/upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index 41df127..99e03d7 100644 --- a/Lib/distutils/command/upload.py +++ b/Lib/distutils/command/upload.py @@ -194,5 +194,5 @@ class upload(PyPIRCCommand): self.announce('Upload failed (%s): %s' % (r.status, r.reason), log.ERROR) if self.show_response: - msg = ''.join('-' * 75, r.read(), '-' * 75) + msg = '\n'.join(('-' * 75, r.read(), '-' * 75)) self.announce(msg, log.INFO) |