summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-09-07 23:08:57 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-09-07 23:08:57 (GMT)
commit480504b15084d06d35fe09f06ea026496212631b (patch)
tree84b99535e5d9cf508030749b629a716bb5fcf677 /Lib/distutils
parent357175ff130b04fd64340d3bd4783bfb3801d889 (diff)
downloadcpython-480504b15084d06d35fe09f06ea026496212631b.zip
cpython-480504b15084d06d35fe09f06ea026496212631b.tar.gz
cpython-480504b15084d06d35fe09f06ea026496212631b.tar.bz2
Fix incorrect use of Command.announce (#9199)
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/upload.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py
index f602fbe..41df127 100644
--- a/Lib/distutils/command/upload.py
+++ b/Lib/distutils/command/upload.py
@@ -194,4 +194,5 @@ class upload(PyPIRCCommand):
self.announce('Upload failed (%s): %s' % (r.status, r.reason),
log.ERROR)
if self.show_response:
- self.announce('-'*75, r.read(), '-'*75)
+ msg = ''.join('-' * 75, r.read(), '-' * 75)
+ self.announce(msg, log.INFO)