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,8 +464,7 @@ class NodeManager(object):
if node.isConnected():
# cut this connection, node removed by handler
node.getConnection().close()
else:
self.remove(node)
self.remove(node)
else:
logging.debug('updating node %r to %s %s %s %s',
node, *log_args)
......
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