[Neo-report] r2346 vincent - /trunk/neo/storage/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Oct 4 10:42:24 CEST 2010
Author: vincent
Date: Mon Oct 4 10:42:22 2010
New Revision: 2346
Log:
Also close connections which are pending identification.
Modified:
trunk/neo/storage/app.py
Modified: trunk/neo/storage/app.py
==============================================================================
--- trunk/neo/storage/app.py [iso-8859-1] (original)
+++ trunk/neo/storage/app.py [iso-8859-1] Mon Oct 4 10:42:22 2010
@@ -184,8 +184,9 @@ class Application(object):
if node is not None and node.isHidden():
self.wait()
# drop any client node
- for node in self.nm.getClientList(only_identified=True):
- node.getConnection().close()
+ for conn in self.em.getConnectionList():
+ if conn not in (self.listening_conn, self.master_conn):
+ conn.close()
# create/clear event queue
self.event_queue = deque()
try:
More information about the Neo-report
mailing list