mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix incorrect use of Command.announce (#9199)
This commit is contained in:
parent
357175ff13
commit
480504b150
1 changed files with 2 additions and 1 deletions
|
@ -194,4 +194,5 @@ class upload(PyPIRCCommand):
|
||||||
self.announce('Upload failed (%s): %s' % (r.status, r.reason),
|
self.announce('Upload failed (%s): %s' % (r.status, r.reason),
|
||||||
log.ERROR)
|
log.ERROR)
|
||||||
if self.show_response:
|
if self.show_response:
|
||||||
self.announce('-'*75, r.read(), '-'*75)
|
msg = ''.join('-' * 75, r.read(), '-' * 75)
|
||||||
|
self.announce(msg, log.INFO)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue