From cca2f3cf1366d40c8470a8b40271de329a50ab5f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 28 May 2016 11:19:53 -0700 Subject: [PATCH] internal rename msg_id, for consistency --- src/wormhole/server/rendezvous_websocket.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wormhole/server/rendezvous_websocket.py b/src/wormhole/server/rendezvous_websocket.py index 2a19ab2..dca5493 100644 --- a/src/wormhole/server/rendezvous_websocket.py +++ b/src/wormhole/server/rendezvous_websocket.py @@ -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):