Fix wrong call to __init__ of URL proxy handler.

This commit is contained in:
Bastian Kleineidam 2010-11-26 12:23:41 +01:00
parent 5c9c15071a
commit 5f06f1b194
2 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,8 @@ Fixes:
Closes: SF bug #3114622
- gui: Activate links in property dialog.
- gui: Fix sorting of columns in URL result list.
- checking: Fix wrong __init__ call to URL proxy handler.
Closes: SF bug #3118254
Changes:
- dependencies: Require and use Python 2.6.

View file

@ -523,8 +523,7 @@ def get_opener (user=None, password=None, proxy=None, debuglevel=0):
]
if proxy:
handlers.insert(0,
urllib2.ProxyHandler({"http": proxy, "https": proxy},
debuglevel=debuglevel))
urllib2.ProxyHandler({"http": proxy, "https": proxy}))
handlers.extend([
urllib2.ProxyBasicAuthHandler(pwd_manager),
urllib2.ProxyDigestAuthHandler(pwd_manager),