diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-05-23 16:19:45 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-05-23 16:19:45 +0200 |
commit | a79b6babd9fc897799eb14fbfcaaf1e8f6cb94d5 (patch) | |
tree | 1159c497263e73a726ca8f07b49a1414247cb427 /README.md | |
parent | 682f8ffdd7cd71b77277719b114d4ca813175da4 (diff) | |
download | vyos-1x-a79b6babd9fc897799eb14fbfcaaf1e8f6cb94d5.tar.gz vyos-1x-a79b6babd9fc897799eb14fbfcaaf1e8f6cb94d5.zip |
Use normal assignment by key instead of setdefault() everywhere.
The setdefault() dict object method updates the value only if it's not
already set, so it's useless for what we want to do, despite its deceptive name.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions