Commit 95eaa500 authored by Aurel's avatar Aurel

fix method call to retrieve connection address


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@256 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 95b714f7
......@@ -97,7 +97,7 @@ class ElectionEventHandler(MasterEventHandler):
# The peer is not a master node!
logging.error('%s:%d is not a master node', ip_address, port)
app.nm.remove(node)
app.negotiating_master_node_set.discard(node.getAddress())
app.negotiating_master_node_set.discard(node.getServer())
conn.close()
return
if conn.getAddress() != (ip_address, port):
......
Markdown is supported
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