Commit 241b4eb2 authored by Vincent Pelletier's avatar Vincent Pelletier

There is no need for a client node to retain information on the status of other client nodes.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@306 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 511433ca
......@@ -327,18 +327,6 @@ class ClientEventHandler(EventHandler):
else:
n.setServer(addr)
elif node_type == CLIENT_NODE_TYPE:
if uuid == INVALID_UUID:
# No interest.
continue
if state == RUNNING_STATE:
n = app.nm.getNodeByUUID(uuid)
if n is None:
n = ClientNode(server = addr, uuid = uuid)
nm.add(n)
else:
n = app.nm.getNodeByUUID(uuid)
if n is not None:
app.nm.remove(n)
continue
n.setState(state)
......
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