From beba3d82f571220c8a68a84ea239885f70512c39 Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Fri, 17 Feb 2017 11:27:46 -0600 Subject: [PATCH] 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 Signed-off-by: Russell Bryant --- python/ovs/db/idl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py index e43457c0bf0..b7b5e1c3aa7 100644 --- a/python/ovs/db/idl.py +++ b/python/ovs/db/idl.py @@ -649,6 +649,7 @@ def __txn_process_reply(self, msg): txn = self._outstanding_txns.pop(msg.id, None) if txn: txn._process_reply(msg) + return True def _uuid_to_row(atom, base):