projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec240a4
)
[utils] Remove return from __init__
author
Huyuumi
<zx.you.funy@gmail.com>
Sat, 28 Jul 2018 22:52:42 +0000
(07:52 +0900)
committer
Sergey M
<dstftw@gmail.com>
Sat, 28 Jul 2018 22:52:42 +0000
(
05:52
+0700)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index b84436ed64cc264659dd0a70811e2812612709cc..29cafd8f05397f82777e114f8429bd78c15e0387 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-3569,7
+3569,7
@@
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))
-
return
compat_urllib_request.ProxyHandler.__init__(self, proxies)
+ compat_urllib_request.ProxyHandler.__init__(self, proxies)
def proxy_open(self, req, proxy, type):
req_proxy = req.headers.get('Ytdl-request-proxy')