summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPBase.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-12-22 13:45:30 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2010-12-22 13:45:30 +0100
commitdde6a329fdaa5dca48080770dee82cb51cf12585 (patch)
treed665099c49a0ef1f5c09a9d2f8b19ba09f531437 /module/network/HTTPBase.py
parentat least its downloading now (diff)
downloadpyload-dde6a329fdaa5dca48080770dee82cb51cf12585.tar.xz
refactoring part 1: deprecation warnings, reduced debug, cookie compatibility
Diffstat (limited to 'module/network/HTTPBase.py')
-rw-r--r--module/network/HTTPBase.py4
1 files changed, 2 insertions, 2 deletions
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()