Commit e8f5b9dc authored by Grégory Wisniewski's avatar Grégory Wisniewski

Handle the case where a node is not identified during shutdown.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1732 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 33f73551
......@@ -524,6 +524,8 @@ class Application(object):
logging.info("asking all nodes to shutdown")
for c in self.em.getConnectionList():
node = self.nm.getByUUID(c.getUUID())
if node is None:
continue
if node.isClient():
node_list = [(node.getType(), node.getAddress(),
node.getUUID(), NodeStates.DOWN)]
......
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