[Python-checkins] r73827 - in python/trunk: Lib/distutils/dist.py Misc/NEWS

tarek.ziade python-checkins at python.org
Sat Jul 4 04:02:42 CEST 2009


Author: tarek.ziade
Date: Sat Jul  4 04:02:41 2009
New Revision: 73827

Log:
Fixed #6413: fixed log level in distutils.dist.announce

Modified:
   python/trunk/Lib/distutils/dist.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/distutils/dist.py
==============================================================================
--- python/trunk/Lib/distutils/dist.py	(original)
+++ python/trunk/Lib/distutils/dist.py	Sat Jul  4 04:02:41 2009
@@ -914,8 +914,8 @@
 
     # -- Methods that operate on the Distribution ----------------------
 
-    def announce(self, msg, level=1):
-        log.debug(msg)
+    def announce(self, msg, level=log.INFO):
+        log.log(level, msg)
 
     def run_commands(self):
         """Run each command that was seen on the setup script command line.

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sat Jul  4 04:02:41 2009
@@ -347,6 +347,8 @@
 Library
 -------
 
+- Issue #6413: Fixed the log level in distutils.dist for announce.
+
 - Issue #3392: The subprocess communicate() method no longer fails in select()
   when file descriptors are large; communicate() now uses poll() when possible.
 


More information about the Python-checkins mailing list