summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-09-07 23:09:44 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-09-07 23:09:44 (GMT)
commita7851ca09db21a974be0e6b1ab33dfa934f9d86a (patch)
tree97710a56db8cc9db5ad15d400357bf21cea49a55 /Lib/distutils
parent7cf83134f53972de1a5ae42bd4804999e45ade1b (diff)
downloadcpython-a7851ca09db21a974be0e6b1ab33dfa934f9d86a.zip
cpython-a7851ca09db21a974be0e6b1ab33dfa934f9d86a.tar.gz
cpython-a7851ca09db21a974be0e6b1ab33dfa934f9d86a.tar.bz2
Merged revisions 84611 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84611 | eric.araujo | 2010-09-08 01:08:57 +0200 (mer., 08 sept. 2010) | 2 lines 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)