[Neo-report] r2495 vincent - /trunk/neo/client/app.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 9 17:25:23 CET 2010


Author: vincent
Date: Thu Dec  9 17:25:23 2010
New Revision: 2495

Log:
Fix a case where answers were dropped.

This can happen when a non-waited-for answers is followed by a waited-for
answer for the same node: the first answer is for the same connection, but
has a different msg_id, so it was just dropped.

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] Thu Dec  9 17:25:23 2010
@@ -272,7 +272,7 @@ class Application(object):
                             'explicitely expected packet.'
                     _handlePacket(conn, packet, handler=handler)
                     break
-            elif not is_forgotten and packet is not None:
+            if not is_forgotten and packet is not None:
                 _handlePacket(conn, packet)
 
     @profiler_decorator




More information about the Neo-report mailing list