pep8
This commit is contained in:
parent
f62a550e9f
commit
9844ba9dc7
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue