From: Guido van Rossum <guido@python.org>
Date: Thu, 20 Feb 2003 02:10:08 +0000 (+0000)
Subject: announce(): use the level argument to control the log level.
X-Git-Tag: v2.3c1~1751
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af160659184f1d551621c70b2979ce5ce56e7fff;p=python

announce(): use the level argument to control the log level.
---

diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py
index 1165f95124..7e7a4cd5ff 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