Commit dad44f3b authored by Julien Muchembled's avatar Julien Muchembled

client: remove wrong assertion when connection is closed by peer

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2755 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6ffdf810
......@@ -96,9 +96,7 @@ class PrimaryNotificationsHandler(BaseHandler):
if app.master_conn is not None:
neo.lib.logging.critical("connection to primary master node closed")
app.master_conn = None
app.primary_master_node = None
else:
assert app.primary_master_node is None
app.primary_master_node = None
super(PrimaryNotificationsHandler, self).connectionClosed(conn)
def stopOperation(self, conn):
......
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