diff options
| author | John Snow | 2021-02-16 03:17:54 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2021-02-18 19:37:20 +0100 |
| commit | 84bece7dd4ce7ca5a36bc996452ebc882f59ae54 (patch) | |
| tree | f6a44f2f9049c6f57cb5dd58cfdcd49b32657eb9 /scripts/qapi/error.py | |
| parent | qapi/introspect.py: use _make_tree for features nodes (diff) | |
| download | qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.tar.gz qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.tar.xz qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.zip | |
qapi/introspect.py: add _gen_features helper
_make_tree might receive a dict (a SchemaInfo object) or some other type
(usually, a string) for its obj parameter. Adding features information
should arguably be performed by the caller at such a time when we know
the type of the object and don't have to re-interrogate it.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210216021809.134886-5-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/error.py')
0 files changed, 0 insertions, 0 deletions
