Commit 1fb45279 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove duplicate check.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1136 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d0ba0475
...@@ -58,9 +58,6 @@ class ElectionHandler(MasterHandler): ...@@ -58,9 +58,6 @@ class ElectionHandler(MasterHandler):
if state in (node.getState(), RUNNING_STATE): if state in (node.getState(), RUNNING_STATE):
# No change. Don't care. # No change. Don't care.
continue continue
if state == RUNNING_STATE:
# No problem.
continue
# Something wrong happened possibly. Cut the connection to # Something wrong happened possibly. Cut the connection to
# this node, if any, and notify the information to others. # this node, if any, and notify the information to others.
......
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