[Python-checkins] r63575 - python/trunk/Lib/distutils/config.py

martin.v.loewis python-checkins at python.org
Sat May 24 11:00:05 CEST 2008


Author: martin.v.loewis
Date: Sat May 24 11:00:04 2008
New Revision: 63575

Log:
Use announce instead of print, to suppress output in
the testsuite.


Modified:
   python/trunk/Lib/distutils/config.py

Modified: python/trunk/Lib/distutils/config.py
==============================================================================
--- python/trunk/Lib/distutils/config.py	(original)
+++ python/trunk/Lib/distutils/config.py	Sat May 24 11:00:04 2008
@@ -62,7 +62,7 @@
         """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
 


More information about the Python-checkins mailing list