Commit 340e7808 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove useless checks (already done in registerXXX())


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1315 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3ee69f4e
......@@ -130,9 +130,7 @@ class NodeManager(object):
def add(self, node):
self.node_list.append(node)
if node.getServer() is not None:
self.registerServer(node)
if node.getUUID() is not None:
self.registerUUID(node)
def remove(self, node):
......
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