Commit 913bd7fa authored by Grégory Wisniewski's avatar Grégory Wisniewski

Factorize two conditions.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1272 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 4ffbbca1
...@@ -105,7 +105,6 @@ class BootstrapManager(EventHandler): ...@@ -105,7 +105,6 @@ class BootstrapManager(EventHandler):
if self.current is None: if self.current is None:
# conn closed # conn closed
conn = None conn = None
if self.current is None:
# select a master # select a master
master_list = nm.getMasterNodeList() master_list = nm.getMasterNodeList()
index = (index + 1) % len(master_list) index = (index + 1) % len(master_list)
......
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