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,10 +130,8 @@ class NodeManager(object): ...@@ -130,10 +130,8 @@ class NodeManager(object):
def add(self, node): def add(self, node):
self.node_list.append(node) self.node_list.append(node)
if node.getServer() is not None: self.registerServer(node)
self.registerServer(node) self.registerUUID(node)
if node.getUUID() is not None:
self.registerUUID(node)
def remove(self, node): def remove(self, node):
if node is None: if node is None:
......
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