tiny syntax fix in parse.py
This commit is contained in:
parent
8f62b47d6e
commit
6ec5e1e8e5
|
|
@ -93,7 +93,7 @@ def parse(packet):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
parsed.update(_parse_header(head))
|
parsed.update(_parse_header(head))
|
||||||
except ParseError, msg:
|
except ParseError as msg:
|
||||||
raise ParseError(str(msg), packet)
|
raise ParseError(str(msg), packet)
|
||||||
|
|
||||||
packet_type = body[0]
|
packet_type = body[0]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue