From: Éric Araujo Date: Wed, 8 Sep 2010 00:00:45 +0000 (+0000) Subject: Follow-up to #9199: Fix str.join use, add newlines. X-Git-Tag: v3.2a3~382 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51e01a6f7a59e06b89b860d71c821569910ef894;p=python 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. --- diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index 41df127799..99e03d747c 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)