2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

python: Prevent extra unexpected reply debug logs.

Since __txn_process_reply always returns None, the existing code
will always hit the final else for replies and log a debug message
about receiving an unexpected reply. In the C version,
ovsdb_idl_txn_process_reply returns true any time the txn is found,
so that behavior is duplicated here.

Signed-off-by: Terry Wilson <twilson@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
This commit is contained in:
Terry Wilson
2017-02-17 11:27:46 -06:00
committed by Russell Bryant
parent 21e9844c59
commit beba3d82f5

View File

@@ -649,6 +649,7 @@ class Idl(object):
txn = self._outstanding_txns.pop(msg.id, None)
if txn:
txn._process_reply(msg)
return True
def _uuid_to_row(atom, base):