Commit 18fb1a46 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Simply a condition on sets.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1502 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 284dee7a
...@@ -207,8 +207,8 @@ class Application(object): ...@@ -207,8 +207,8 @@ class Application(object):
ClientConnection(self.em, client_handler, addr=addr, ClientConnection(self.em, client_handler, addr=addr,
connector_handler=self.connector_handler) connector_handler=self.connector_handler)
self.em.poll(1) self.em.poll(1)
if len(self.unconnected_master_node_set) == 0 \ if len(self.unconnected_master_node_set |
and len(self.negotiating_master_node_set) == 0: self.negotiating_master_node_set) == 0:
break break
......
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