Commit a5c37f28 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Reduce indentation.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1503 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 18fb1a46
......@@ -184,8 +184,7 @@ class ClientElectionHandler(ElectionHandler):
# I don't know such a node. Probably this information
# is old. So ignore it.
logging.warning('received an unknown primary node UUID')
else:
if primary_node.getUUID() == primary_uuid:
elif primary_node.getUUID() == primary_uuid:
# Whatever the situation is, I trust this master.
app.primary = False
app.primary_master_node = primary_node
......
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