projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21f17f
)
[socks] Remove a superfluous clause
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 8 May 2016 07:14:56 +0000
(15:14 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Tue, 10 May 2016 06:51:38 +0000
(14:51 +0800)
youtube_dl/socks.py
patch
|
blob
|
history
diff --git
a/youtube_dl/socks.py
b/youtube_dl/socks.py
index a5b27fea7c685208b1315110de90139d4bd6d075..fd49d74352c7d50e15956169f686c3ffbb107b5c 100644
(file)
--- a/
youtube_dl/socks.py
+++ b/
youtube_dl/socks.py
@@
-210,8
+210,6
@@
class sockssocket(socket.socket):
if status != SOCKS5_USER_AUTH_SUCCESS:
self.close()
raise Socks5Error(Socks5Error.ERR_GENERAL_FAILURE)
- elif method == Socks5Auth.AUTH_NONE:
- pass
def _setup_socks5(self, address):
destaddr, port = address