commit | af160659184f1d551621c70b2979ce5ce56e7fff | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Feb 20 02:10:08 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Feb 20 02:10:08 2003 +0000 |
tree | f0e59368cbd24f8c119078fbe8b9b335da5b6928 | |
parent | a85dbeb61fe9357b15b4f987d9bc62f67e77b55f [diff] [blame] |
announce(): use the level argument to control the log level.
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 @@ """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