diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-30 18:33:41 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-31 20:36:03 -0800 |
commit | eaf317e7d2bbb04486c9842aea9be1e94bd416ed (patch) | |
tree | fa8b4fbd3df6707a38f6c7a217fb723305b01cb7 /tools/net/ynl/cli.py | |
parent | df54fde451db9534f2fd9838d4c7d2a10ccfb6e8 (diff) |
tools: ynl-gen: prevent do / dump reordering
An earlier fix tried to address generated code jumping around
one code-gen run to another. Turns out dict()s are already
ordered since Python 3.7, the problem is that we iterate over
operation modes using a set(). Sets are unordered in Python.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions