diff options
author | Yen Chi Hsuan <[email protected]> | 2016-05-08 15:14:56 +0800 |
---|---|---|
committer | Yen Chi Hsuan <[email protected]> | 2016-05-10 14:51:38 +0800 |
commit | fa5cb8d0212918657cb58b4d5791ed3de831bd74 (patch) | |
tree | c41965eb405b7a7f09b87204426eb376b0ccad04 | |
parent | e21f17fc86aab0ac7f1f4cee28f64e7b9b954f71 (diff) | |
download | youtube-dl-fa5cb8d0212918657cb58b4d5791ed3de831bd74.tar.gz youtube-dl-fa5cb8d0212918657cb58b4d5791ed3de831bd74.zip |
[socks] Remove a superfluous clause
-rw-r--r-- | youtube_dl/socks.py | 2 |
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 |