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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 26 14:03:58 CET 2010


Author: gregory
Date: Fri Feb 26 14:03:55 2010
New Revision: 1864

Log:
Handle closure of non-target connections.

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 26 14:03:55 2010
@@ -222,7 +222,8 @@
                 if msg_id == packet.getId():
                     self._handlePacket(conn, packet, handler=handler)
                     break
-            self._handlePacket(conn, packet)
+            elif packet is not None:
+                self._handlePacket(conn, packet)
 
     def _askStorage(self, conn, packet, timeout=5, additional_timeout=30):
         """ Send a request to a storage node and process it's answer """





More information about the Neo-report mailing list