diff options
Diffstat (limited to 'Lib/cookielib.py')
-rw-r--r-- | Lib/cookielib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/cookielib.py b/Lib/cookielib.py index 808eca67d5..e8fee0ee6b 100644 --- a/Lib/cookielib.py +++ b/Lib/cookielib.py @@ -36,13 +36,13 @@ except ImportError: import httplib # only for the default HTTP port from calendar import timegm -debug = 0 # set to true to enable debugging via the logging module +debug = False # set to True to enable debugging via the logging module logger = None def _debug(*args): - global logger if not debug: return + global logger if not logger: import logging logger = logging.getLogger("cookielib") |