[Neo-report] r2755 jm - /trunk/neo/client/handlers/master.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon May 23 13:31:55 CEST 2011
Author: jm
Date: Mon May 23 13:31:55 2011
New Revision: 2755
Log:
client: remove wrong assertion when connection is closed by peer
Modified:
trunk/neo/client/handlers/master.py
Modified: trunk/neo/client/handlers/master.py
==============================================================================
--- trunk/neo/client/handlers/master.py [iso-8859-1] (original)
+++ trunk/neo/client/handlers/master.py [iso-8859-1] Mon May 23 13:31:55 2011
@@ -96,9 +96,7 @@ class PrimaryNotificationsHandler(BaseHa
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):
More information about the Neo-report
mailing list