Remove the message type enum.

This commit is contained in:
poljar (Damir Jelić) 2018-02-25 18:04:49 +01:00
parent 9f70a1440b
commit bf0bffc879
4 changed files with 17 additions and 33 deletions

View file

@ -249,7 +249,9 @@ def receive_cb(server_name, file_descriptor):
prnt_debug(DebugType.MESSAGING, server,
("{prefix}Received message of type {t} and "
"status {s}").format(
prefix=W.prefix("error"), t=message.type, s=status))
prefix=W.prefix("error"),
t=message.__class__.__name__,
s=status))
# Message done, reset the parser state.
server.reset_parser()