From dde6a329fdaa5dca48080770dee82cb51cf12585 Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 22 Dec 2010 13:45:30 +0100 Subject: refactoring part 1: deprecation warnings, reduced debug, cookie compatibility --- module/network/HTTPBase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/network/HTTPBase.py') diff --git a/module/network/HTTPBase.py b/module/network/HTTPBase.py index 753c6c0f1..fead2f4ed 100644 --- a/module/network/HTTPBase.py +++ b/module/network/HTTPBase.py @@ -49,7 +49,7 @@ import socks from MultipartPostHandler import MultipartPostHandler -DEBUG = 1 +DEBUG = 0 HANDLE_ERRORS = 1 class PyLoadHTTPResponse(HTTPResponse): @@ -293,7 +293,7 @@ class HTTPBase(): self.cookieJar = CookieJar() - self.debug = True + self.debug = DEBUG def createOpener(self, cookies=True): opener = OpenerDirector() -- cgit v1.2.3