Fix incorrect use of Command.announce (#9199)

This commit is contained in:
Éric Araujo 2010-09-07 23:08:57 +00:00
parent 357175ff13
commit 480504b150
1 changed files with 2 additions and 1 deletions

View File

@ -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)