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

Remove old tests now implied by current handler.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@934 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 1505473b
......@@ -38,15 +38,7 @@ class HiddenHandler(BaseMasterHandler):
def handleNotifyNodeInformation(self, conn, packet, node_list):
"""Store information on nodes, only if this is sent by a primary
master node."""
uuid = conn.getUUID()
if uuid is None:
raise UnexpectedPacketError
app = self.app
node = app.nm.getNodeByUUID(uuid)
if node.getNodeType() != MASTER_NODE_TYPE:
return
for node_type, addr, uuid, state in node_list:
if node_type == STORAGE_NODE_TYPE:
if uuid == None:
......@@ -66,10 +58,6 @@ class HiddenHandler(BaseMasterHandler):
n = app.nm.getNodeByUUID(uuid)
n.setState(state)
else:
# Do not care of other node
pass
def handleRequestNodeIdentification(self, conn, packet, node_type,
uuid, address, name):
......
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