From af160659184f1d551621c70b2979ce5ce56e7fff Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 20 Feb 2003 02:10:08 +0000 Subject: [PATCH] announce(): use the level argument to control the log level. --- Lib/distutils/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 1165f95124f..7e7a4cd5ff6 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -191,7 +191,7 @@ def announce (self, msg, level=1): """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