summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-20 02:10:08 (GMT)
committerGuido van Rossum <guido@python.org>2003-02-20 02:10:08 (GMT)
commitaf160659184f1d551621c70b2979ce5ce56e7fff (patch)
treef0e59368cbd24f8c119078fbe8b9b335da5b6928
parenta85dbeb61fe9357b15b4f987d9bc62f67e77b55f (diff)
downloadcpython-af160659184f1d551621c70b2979ce5ce56e7fff.zip
cpython-af160659184f1d551621c70b2979ce5ce56e7fff.tar.gz
cpython-af160659184f1d551621c70b2979ce5ce56e7fff.tar.bz2
announce(): use the level argument to control the log level.
-rw-r--r--Lib/distutils/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py
index 1165f95..7e7a4cd 100644
--- a/Lib/distutils/cmd.py
+++ b/Lib/distutils/cmd.py
@@ -191,7 +191,7 @@ class Command:
"""If the current verbosity level is of greater than or equal to
'level' print 'msg' to stdout.
"""
- log.debug(msg)
+ log.log(level, msg)
def debug_print (self, msg):
"""Print 'msg' to stdout if the global DEBUG (taken from the