[Python-checkins] r73828 - in python/branches/py3k: Lib/distutils/dist.py Misc/NEWS

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


Author: tarek.ziade
Date: Sat Jul  4 04:04:21 2009
New Revision: 73828

Log:
Merged revisions 73827 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73827 | tarek.ziade | 2009-07-04 04:02:41 +0200 (Sat, 04 Jul 2009) | 1 line
  
  Fixed #6413: fixed log level in distutils.dist.announce
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/distutils/dist.py
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/distutils/dist.py
==============================================================================
--- python/branches/py3k/Lib/distutils/dist.py	(original)
+++ python/branches/py3k/Lib/distutils/dist.py	Sat Jul  4 04:04:21 2009
@@ -907,8 +907,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/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Sat Jul  4 04:04:21 2009
@@ -865,6 +865,8 @@
 Library
 -------
 
+- Issue #6413: Fixed the log level in distutils.dist for announce.
+
 - Issue #6403: Fixed package path usage in build_ext.
 
 - Issue #6365: Distutils build_ext inplace mode was copying the compiled 


More information about the Python-checkins mailing list