Kaydet (Commit) af160659 authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst a85dbeb6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment