[Python-checkins] r84614 - python/branches/py3k/Lib/distutils/command/upload.py
eric.araujo
python-checkins at python.org
Wed Sep 8 02:00:45 CEST 2010
Author: eric.araujo
Date: Wed Sep 8 02:00:45 2010
New Revision: 84614
Log:
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.
Modified:
python/branches/py3k/Lib/distutils/command/upload.py
Modified: python/branches/py3k/Lib/distutils/command/upload.py
==============================================================================
--- python/branches/py3k/Lib/distutils/command/upload.py (original)
+++ python/branches/py3k/Lib/distutils/command/upload.py Wed Sep 8 02:00:45 2010
@@ -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)
More information about the Python-checkins
mailing list