mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
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.
This commit is contained in:
parent
480504b150
commit
51e01a6f7a
1 changed files with 1 additions and 1 deletions
|
|
@ -194,5 +194,5 @@ class upload(PyPIRCCommand):
|
||||||
self.announce('Upload failed (%s): %s' % (r.status, r.reason),
|
self.announce('Upload failed (%s): %s' % (r.status, r.reason),
|
||||||
log.ERROR)
|
log.ERROR)
|
||||||
if self.show_response:
|
if self.show_response:
|
||||||
msg = ''.join('-' * 75, r.read(), '-' * 75)
|
msg = '\n'.join(('-' * 75, r.read(), '-' * 75))
|
||||||
self.announce(msg, log.INFO)
|
self.announce(msg, log.INFO)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue