Commit 171c6592 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove useless if: no need to check the list before iterate over.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1534 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8f1fa695
......@@ -197,7 +197,6 @@ class Application(object):
node.getAddress())
# Try to connect to master nodes.
if self.unconnected_master_node_set:
for addr in list(self.unconnected_master_node_set):
ClientConnection(self.em, client_handler, addr=addr,
connector_handler=self.connector_handler)
......
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