summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-07-04 02:02:41 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-07-04 02:02:41 (GMT)
commit63f1738d4bb904992afb748b3b2734d37cd7fdec (patch)
treed76abe333bc553f75bcef4e1c294192eab0ce535
parentc197d0ada273a9f03fc7e213777a59bc3d11688f (diff)
downloadcpython-63f1738d4bb904992afb748b3b2734d37cd7fdec.zip
cpython-63f1738d4bb904992afb748b3b2734d37cd7fdec.tar.gz
cpython-63f1738d4bb904992afb748b3b2734d37cd7fdec.tar.bz2
Fixed #6413: fixed log level in distutils.dist.announce
-rw-r--r--Lib/distutils/dist.py4
-rw-r--r--Misc/NEWS2
2 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index f4aecb4..7c29bf6 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -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.
diff --git a/Misc/NEWS b/Misc/NEWS
index 232eb4c..971b25e 100644
--- 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.