Commit e713874a authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Fixed type error in error-reporting code.

parent 39cbc1f2
......@@ -553,7 +553,7 @@ def receive_parse_body():
if not sock.number_to_connection.has_key(connectionKey):
raise Exception('ERROR: magent event received that does not '
+ 'correspond to a connection. socketKey: ' + socketKey
+ ' connectionKey: ' + connectionKey)
+ ' connectionKey: ' + str(connectionKey))
app_connection = sock.number_to_connection[connectionKey]
if eventType == EVENT_FORWARD_PATH:
set_connection(this_ip, app_connection.dest.local_port,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment