summaryrefslogtreecommitdiff
path: root/src/op_mode/show_users.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-14 07:15:23 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-14 07:54:55 +0100
commitba483643bd7340960d72dc424e7d57876d99b0cd (patch)
tree8942872515ce2625b1866e8f08e4b923927b556d /src/op_mode/show_users.py
parent0d921d0494edc40dd82cf4073300bfe466cc0fdc (diff)
downloadvyos-1x-ba483643bd7340960d72dc424e7d57876d99b0cd.tar.gz
vyos-1x-ba483643bd7340960d72dc424e7d57876d99b0cd.zip
options: keyboard: T3038: use proper XML <defaultValue> over hardcoded Python value
We should not use hardcoded Python values whenever possible. vyos.xml provides an abstraction of the XML CLI definitions providing default values from the CLI specified via the <defaultValue> node. This increases consistency among all XML/Python wrappers. Additional small fixes in this commit (besides the bad practice incorporating unrelated changes into the same commit) contain: - Keyboard layout shout be explicitly set for /dev/console - Added missing Debian dependency on console-data - When looking for a key in a dict, we do not need to specify dict.keys()
Diffstat (limited to 'src/op_mode/show_users.py')
0 files changed, 0 insertions, 0 deletions