X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..3c8ad70ad4de074ff95b5e3629ebc272551921c0:/wxPython/distutils/log.py diff --git a/wxPython/distutils/log.py b/wxPython/distutils/log.py index 0442033d66..01420da9af 100644 --- a/wxPython/distutils/log.py +++ b/wxPython/distutils/log.py @@ -53,9 +53,9 @@ def set_threshold(level): _global_log.threshold = level def set_verbosity(v): - if v == 0: + if v <= 0: set_threshold(WARN) - if v == 1: + elif v == 1: set_threshold(INFO) - if v == 2: + elif v >= 2: set_threshold(DEBUG)