]> granicus.if.org Git - python/commitdiff
Fixed #6413: fixed log level in distutils.dist.announce
authorTarek Ziadé <ziade.tarek@gmail.com>
Sat, 4 Jul 2009 02:02:41 +0000 (02:02 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Sat, 4 Jul 2009 02:02:41 +0000 (02:02 +0000)
Lib/distutils/dist.py
Misc/NEWS

index f4aecb419ed3d8f895088060022d0713ab6bfe55..7c29bf6ca7d1c35dcf46cdcd9f9858a616e2b9c7 100644 (file)
@@ -914,8 +914,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 232eb4c1397c676f8ff4b1b800dad0d04f5c477d..971b25e55e0450752b49c0d046c166278eb524ec 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -347,6 +347,8 @@ Core and Builtins
 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.