]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix incorrect use of Command.announce (#9199)
authorÉric Araujo <merwok@netwok.org>
Tue, 7 Sep 2010 23:08:57 +0000 (23:08 +0000)
committerÉric Araujo <merwok@netwok.org>
Tue, 7 Sep 2010 23:08:57 +0000 (23:08 +0000)
Lib/distutils/command/upload.py

index f602fbeb68697018b60d65ccaf1641c6334bcaef..41df127799553c311f1b3e6d0faf9f7274d5736d 100644 (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)