Fix incorrect use of Command.announce (#9199)
This commit is contained in:
parent
357175ff13
commit
480504b150
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue