diff options
author | Guido van Rossum <guido@python.org> | 2003-02-20 02:10:08 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-20 02:10:08 (GMT) |
commit | af160659184f1d551621c70b2979ce5ce56e7fff (patch) | |
tree | f0e59368cbd24f8c119078fbe8b9b335da5b6928 /Lib | |
parent | a85dbeb61fe9357b15b4f987d9bc62f67e77b55f (diff) | |
download | cpython-af160659184f1d551621c70b2979ce5ce56e7fff.zip cpython-af160659184f1d551621c70b2979ce5ce56e7fff.tar.gz cpython-af160659184f1d551621c70b2979ce5ce56e7fff.tar.bz2 |
announce(): use the level argument to control the log level.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/cmd.py | 2 |
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 |