summaryrefslogtreecommitdiff
path: root/tests/topotests/example-test/test_example.py
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-02-26 11:30:57 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-02-26 15:27:27 +0000
commit0b2d943811375e2dce2037b0284ca0aeda1b8e20 (patch)
tree8dfd1d78476e656d486088496bc3dba9001a25a4 /tests/topotests/example-test/test_example.py
parent493c991315c74aa0214bba970b93ac56e5ecc116 (diff)
lib: fix setting temporary log options for libyang
By calling `ly_log_options` with `LY_LOSTORE`, the current code effectively disables libyang logging and never enables it back. The call is done to get the current logging options, but we don't really need that. When looking for a schema node, we don't want neither to log nor to store the error, so simply set the temporary options to 0. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com> (cherry picked from commit 3cd6ddaec6fd41ac84ef23595ffc7e3d18334839)
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions