Remove the return statement from the __init__ method
This commit is contained in:
parent
0c7b4f49eb
commit
f8e0a6c24b
@ -3569,6 +3569,8 @@ class PerRequestProxyHandler(compat_urllib_request.ProxyHandler):
|
||||
setattr(self, '%s_open' % type,
|
||||
lambda r, proxy='__noproxy__', type=type, meth=self.proxy_open:
|
||||
meth(r, proxy, type))
|
||||
|
||||
def proxy_handler(self, proxies=None):
|
||||
return compat_urllib_request.ProxyHandler.__init__(self, proxies)
|
||||
|
||||
def proxy_open(self, req, proxy, type):
|
||||
|
Loading…
x
Reference in New Issue
Block a user