]> granicus.if.org Git - python/commitdiff
Merged revisions 84611 via svnmerge from
authorÉric Araujo <merwok@netwok.org>
Tue, 7 Sep 2010 23:09:44 +0000 (23:09 +0000)
committerÉric Araujo <merwok@netwok.org>
Tue, 7 Sep 2010 23:09:44 +0000 (23:09 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84611 | eric.araujo | 2010-09-08 01:08:57 +0200 (mer., 08 sept. 2010) | 2 lines

  Fix incorrect use of Command.announce (#9199)
........

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)