pep8
This commit is contained in:
@ -502,7 +502,7 @@ class TCPRelayHandler(object):
|
||||
socks_version = common.ord(data[0])
|
||||
nmethods = common.ord(data[1])
|
||||
if socks_version != 5:
|
||||
logging.warning('unsupported SOCKS protocol version ' +
|
||||
logging.warning('unsupported SOCKS protocol version ' +
|
||||
str(socks_version))
|
||||
raise BadSocksHeader
|
||||
if nmethods < 1 or len(data) != nmethods + 2:
|
||||
|
Reference in New Issue
Block a user