Commit 18e4cdc5 authored by Vincent Pelletier's avatar Vincent Pelletier

Replace a bare "pass" with a warning log, as this case should never happen (to...

Replace a bare "pass" with a warning log, as this case should never happen (to be upgraded to a raise someday).


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@741 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent bdf21345
......@@ -190,7 +190,7 @@ class ClientElectionEventHandler(MasterEventHandler):
if primary_node is None:
# I don't know such a node. Probably this information
# is old. So ignore it.
pass
logging.warning('received an unknown primary node UUID')
else:
if primary_node.getUUID() == primary_uuid:
# Whatever the situation is, I trust this master.
......
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