Commit fe763ddd authored by Éric Araujo's avatar Éric Araujo

Fix incorrect use of Command.announce (#9199)

parent 0aeceb2a
...@@ -194,4 +194,5 @@ class upload(PyPIRCCommand): ...@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment