PEP8 indent
A tiny change to perfect the indent.
This commit is contained in:
parent
1bb0e51e8e
commit
2555aa8e2b
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ def parse_header(data):
|
|||
if len(data) >= 2 + addrlen:
|
||||
dest_addr = data[2:2 + addrlen]
|
||||
dest_port = struct.unpack('>H', data[2 + addrlen:4 +
|
||||
addrlen])[0]
|
||||
addrlen])[0]
|
||||
header_length = 4 + addrlen
|
||||
else:
|
||||
logging.warn('header is too short')
|
||||
|
|
Loading…
Reference in a new issue