Browse Source

tcprelay.py: wrap long line for PEP8

auth
Felix Yan 10 years ago
parent
commit
d971cb44a8
  1. 3
      shadowsocks/tcprelay.py

3
shadowsocks/tcprelay.py

@ -261,7 +261,8 @@ class TCPRelayHandler(object):
if header_result is None:
raise Exception('can not parse header')
addrtype, remote_addr, remote_port, header_length = header_result
logging.info('connecting %s:%d' % (remote_addr.decode('utf-8'), remote_port))
logging.info('connecting %s:%d' % (remote_addr.decode('utf-8'),
remote_port))
self._remote_address = (remote_addr, remote_port)
# pause reading
self._update_stream(STREAM_UP, WAIT_STATUS_WRITING)

Loading…
Cancel
Save