Commit 48b49442 authored by Aurel's avatar Aurel

compare to connection uuid, not to undefined variable


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@248 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent dee53486
......@@ -160,7 +160,7 @@ class ElectionEventHandler(MasterEventHandler):
app.primary = False
app.primary_master_node = primary_node
else:
if app.uuid < uuid:
if app.uuid < conn.getUUID():
# I lost.
app.primary = False
......
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