Commit 71db29fa authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove a just disconnected node has the network event will not be triggered

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2136 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a4ed909a
...@@ -464,7 +464,6 @@ class NodeManager(object): ...@@ -464,7 +464,6 @@ class NodeManager(object):
if node.isConnected(): if node.isConnected():
# cut this connection, node removed by handler # cut this connection, node removed by handler
node.getConnection().close() node.getConnection().close()
else:
self.remove(node) self.remove(node)
else: else:
logging.debug('updating node %r to %s %s %s %s', logging.debug('updating node %r to %s %s %s %s',
......
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