]> granicus.if.org Git - python/commitdiff
Use announce instead of print, to suppress output in
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 24 May 2008 09:00:04 +0000 (09:00 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 24 May 2008 09:00:04 +0000 (09:00 +0000)
the testsuite.

Lib/distutils/config.py

index 35a21ec211485e9c9a70a34efdd74cb161b7fdb3..e07f8ac998b5aca2fcef599d0eceb18e229c8806 100644 (file)
@@ -62,7 +62,7 @@ class PyPIRCCommand(Command):
         """Reads the .pypirc file."""
         rc = self._get_rc_file()
         if os.path.exists(rc):
-            print 'Using PyPI login from %s' % rc
+            self.announce('Using PyPI login from %s' % rc)
             repository = self.repository or self.DEFAULT_REPOSITORY
             realm = self.realm or self.DEFAULT_REALM