diff options
author | John Snow | 2021-02-16 03:18:02 +0100 |
---|---|---|
committer | Markus Armbruster | 2021-02-18 19:45:20 +0100 |
commit | c0e8d9f3c199357d89f362c54e1edced82c3c084 (patch) | |
tree | 002b63fbdcf8549f3897fe130b9aab1bad442864 /scripts/qapi/schema.py | |
parent | qapi/introspect.py: improve _tree_to_qlit error message (diff) | |
download | qemu-c0e8d9f3c199357d89f362c54e1edced82c3c084.tar.gz qemu-c0e8d9f3c199357d89f362c54e1edced82c3c084.tar.xz qemu-c0e8d9f3c199357d89f362c54e1edced82c3c084.zip |
qapi/introspect.py: improve readability of _tree_to_qlit
Subjective, but I find getting rid of the comprehensions helps. Also,
divide the sections into scalar and non-scalar sections, and remove
old-style string formatting.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210216021809.134886-13-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions