diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-19 21:59:43 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-19 21:59:43 +0200 |
commit | e28a80a2b742ea3d9d4bcb8ae66c7a0d51aaaff6 (patch) | |
tree | 07f0c6831438f33505c9aa1e65f2418b4761fd8d /tests | |
parent | b4c58c5aefaca4fce817b58327b9c7c3e8145d6d (diff) | |
download | vyos-1x-e28a80a2b742ea3d9d4bcb8ae66c7a0d51aaaff6.tar.gz vyos-1x-e28a80a2b742ea3d9d4bcb8ae66c7a0d51aaaff6.zip |
vyos.configdict: bugfix: leaf_node_changed() must return empty dict when node is added
Commit f476e456 ("vyos.configdict: leaf_node_changed() must return empty dict
when node is added") returned [''] as "empty" dict - but this is not empty.
>>> if ['']:
... print('foo')
...
foo
It should rather be: []
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions