mirror of https://github.com/python/cpython
announce(): use the level argument to control the log level.
This commit is contained in:
parent
a85dbeb61f
commit
af16065918
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue