internal rename msg_id, for consistency

This commit is contained in:
Brian Warner 2016-05-28 11:19:53 -07:00
parent 00efdfa4e2
commit cca2f3cf13

View File

@ -211,10 +211,10 @@ class WebSocketRendezvous(websocket.WebSocketServerProtocol):
raise Error("missing 'phase'")
if "body" not in msg:
raise Error("missing 'body'")
msgid = msg.get("id") # optional
msg_id = msg.get("id") # optional
sm = SidedMessage(side=self._side, phase=msg["phase"],
body=msg["body"], server_rx=server_rx,
msg_id=msgid)
msg_id=msg_id)
self._mailbox.add_message(sm)
def handle_close(self, msg, server_rx):