summaryrefslogtreecommitdiff
path: root/python/ovs/db
diff options
context:
space:
mode:
authorTerry Wilson <twilson@redhat.com>2017-02-17 11:27:46 -0600
committerRussell Bryant <russell@ovn.org>2017-02-17 15:33:47 -0500
commitbeba3d82f571220c8a68a84ea239885f70512c39 (patch)
tree14888068cb6098494b17b7229b6dfd8fc0b0c7c4 /python/ovs/db
parent21e9844c59c8e10da307e59be453795ce4d6282d (diff)
downloadopenvswitch-beba3d82f571220c8a68a84ea239885f70512c39.tar.gz
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>
Diffstat (limited to 'python/ovs/db')
-rw-r--r--python/ovs/db/idl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py
index e43457c0b..b7b5e1c3a 100644
--- a/python/ovs/db/idl.py
+++ b/python/ovs/db/idl.py
@@ -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):