[Neo-report] r1805 gregory - /trunk/neo/client/app.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 19 17:22:44 CET 2010


Author: gregory
Date: Fri Feb 19 17:22:44 2010
New Revision: 1805

Log:
Handle a connection close in waitAnyMessage.

Modified:
    trunk/neo/client/app.py

Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Fri Feb 19 17:22:44 2010
@@ -195,6 +195,9 @@
                 conn, packet = get(block)
             except Empty:
                 break
+            if packet is None:
+                # connection was closed
+                continue
             block = False
             try:
                 _handlePacket(conn, packet)





More information about the Neo-report mailing list