Mercurial > cpython-lru_cache-weakref
diff Lib/distutils/command/upload.py @ 64550:8923e1493a34
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.
| author | Éric Araujo <merwok@netwok.org> |
|---|---|
| date | Wed, 08 Sep 2010 00:00:45 +0000 |
| parents | 558f338e1320 |
| children | 3bf86785cd9c |
line wrap: on
line diff
--- a/Lib/distutils/command/upload.py Tue Sep 07 23:08:57 2010 +0000 +++ b/Lib/distutils/command/upload.py Wed Sep 08 00:00:45 2010 +0000 @@ -194,5 +194,5 @@ 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)
