Merged revisions 84614 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84614 | eric.araujo | 2010-09-08 02:00:45 +0200 (mer., 08 sept. 2010) | 5 lines

  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:
Éric Araujo 2010-09-08 00:02:29 +00:00
parent 5011c8d962
commit 7738e4b758
1 changed files with 1 additions and 1 deletions

View File

@ -186,5 +186,5 @@ class upload(PyPIRCCommand):
self.announce('Upload failed (%s): %s' % (status, 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)