Mercurial > cpython-lru_cache-weakref
diff Lib/distutils/command/upload.py @ 64547:558f338e1320
Fix incorrect use of Command.announce (#9199)
| author | Éric Araujo <merwok@netwok.org> |
|---|---|
| date | Tue, 07 Sep 2010 23:08:57 +0000 |
| parents | 29a3eda89995 |
| children | 8923e1493a34 |
line wrap: on
line diff
--- a/Lib/distutils/command/upload.py Tue Sep 07 22:11:52 2010 +0000 +++ b/Lib/distutils/command/upload.py Tue Sep 07 23:08:57 2010 +0000 @@ -194,4 +194,5 @@ 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)
