summaryrefslogtreecommitdiffstats
path: root/Lib/cookielib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-05-18 06:51:46 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-05-18 06:51:46 (GMT)
commitb678ce5aa67d890bb080df19fa35a232a19dac65 (patch)
tree2c313e7415db723b59c74e553c1de7f8c246bfe5 /Lib/cookielib.py
parentfad65594ba25caada52b334b05f5f3f0994b9206 (diff)
downloadcpython-b678ce5aa67d890bb080df19fa35a232a19dac65.zip
cpython-b678ce5aa67d890bb080df19fa35a232a19dac65.tar.gz
cpython-b678ce5aa67d890bb080df19fa35a232a19dac65.tar.bz2
Little cleanup
Diffstat (limited to 'Lib/cookielib.py')
-rw-r--r--Lib/cookielib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/cookielib.py b/Lib/cookielib.py
index 808eca6..e8fee0e 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")