]> granicus.if.org Git - python/commitdiff
Merged revisions 73827 via svnmerge from
authorTarek Ziadé <ziade.tarek@gmail.com>
Sat, 4 Jul 2009 02:04:21 +0000 (02:04 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Sat, 4 Jul 2009 02:04:21 +0000 (02:04 +0000)
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
........

Lib/distutils/dist.py
Misc/NEWS

index 915d3364311da087d15d291fb4de1c2b742fd593..092ec0d2208c928c6b866d0f1bf2398b196666fd 100644 (file)
@@ -907,8 +907,8 @@ Common commands: (see '--help-commands' for more)
 
     # -- 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.
index 343fbc6e958fa5bd48e912f615acdb392ef80b50..ae39b9abc1c91c0a26e2bae704e7843821e6ad68 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -865,6 +865,8 @@ Core and Builtins
 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