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