From: Yen Chi Hsuan Date: Sun, 8 May 2016 07:14:56 +0000 (+0800) Subject: [socks] Remove a superfluous clause X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=fa5cb8d0212918657cb58b4d5791ed3de831bd74;p=youtube-dl [socks] Remove a superfluous clause --- 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