Commit 7ad02d86 authored by Vincent Pelletier's avatar Vincent Pelletier

Clear existing sets rather than instanciating new ones.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1582 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 9a3366ac
......@@ -131,8 +131,8 @@ class Application(object):
to self as well as master nodes."""
logging.info('begin the election of a primary master')
self.unconnected_master_node_set = set()
self.negotiating_master_node_set = set()
self.unconnected_master_node_set.clear()
self.negotiating_master_node_set.clear()
self.listening_conn.setHandler(election.ServerElectionHandler(self))
while True:
......
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