diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-19 21:59:43 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-19 22:09:17 +0200 |
commit | d7d1fabe9186f93239e6912b8570c18b014907e9 (patch) | |
tree | c77c59010e86c569793564394c67bb6b9064e37b /python/vyos/ifconfig | |
parent | 3efe74df68ea2d797155a1371cb0b321f5437f25 (diff) | |
download | vyos-1x-d7d1fabe9186f93239e6912b8570c18b014907e9.tar.gz vyos-1x-d7d1fabe9186f93239e6912b8570c18b014907e9.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: []
(cherry picked from commit e28a80a2b742ea3d9d4bcb8ae66c7a0d51aaaff6)
Diffstat (limited to 'python/vyos/ifconfig')
0 files changed, 0 insertions, 0 deletions