Skip to content

Commit

Permalink
python: Prevent extra unexpected reply debug logs.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
otherwiseguy authored and russellb committed Feb 17, 2017
1 parent 21e9844 commit beba3d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ovs/db/idl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit beba3d8

Please sign in to comment.