aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/socks.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-05-08 15:14:56 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-05-10 14:51:38 +0800
commitfa5cb8d0212918657cb58b4d5791ed3de831bd74 (patch)
treec41965eb405b7a7f09b87204426eb376b0ccad04 /youtube_dl/socks.py
parente21f17fc86aab0ac7f1f4cee28f64e7b9b954f71 (diff)
[socks] Remove a superfluous clause
Diffstat (limited to 'youtube_dl/socks.py')
-rw-r--r--youtube_dl/socks.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/youtube_dl/socks.py b/youtube_dl/socks.py
index a5b27fea7..fd49d7435 100644
--- 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