diff options
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) |
commit | 480504b15084d06d35fe09f06ea026496212631b (patch) | |
tree | 84b99535e5d9cf508030749b629a716bb5fcf677 /Lib/distutils | |
parent | 357175ff130b04fd64340d3bd4783bfb3801d889 (diff) | |
download | cpython-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.py | 3 |
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) |