summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-07-04 02:05:51 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-07-04 02:05:51 (GMT)
commit35c88a8f38f4aee3916c497ded339981de249703 (patch)
tree6c4e12ba0dfeb148b07fd0a3b56919da41c70e36
parent33cc77672d34a45cbc54f4801d869ebef084a89d (diff)
downloadcpython-35c88a8f38f4aee3916c497ded339981de249703.zip
cpython-35c88a8f38f4aee3916c497ded339981de249703.tar.gz
cpython-35c88a8f38f4aee3916c497ded339981de249703.tar.bz2
Merged revisions 73828 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r73828 | tarek.ziade | 2009-07-04 04:04:21 +0200 (Sat, 04 Jul 2009) | 9 lines 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 ........ ................
-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 915d336..092ec0d 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -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.
diff --git a/Misc/NEWS b/Misc/NEWS
index 1cdd832..2f49fef 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -859,6 +859,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