diff options
author | Markus Armbruster <armbru@redhat.com> | 2024-02-16 15:58:32 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2024-02-26 10:43:56 +0100 |
commit | 31c54b92ad0816ab1c4eddaf4b60c0b17a75dfc9 (patch) | |
tree | 2fabfd671610166425b115d94317c99617854e6c /tests/qapi-schema | |
parent | 573e2223f91a1662dad3c4ab5f6724bbe2633eff (diff) | |
download | qemu-31c54b92ad0816ab1c4eddaf4b60c0b17a75dfc9.zip qemu-31c54b92ad0816ab1c4eddaf4b60c0b17a75dfc9.tar.gz qemu-31c54b92ad0816ab1c4eddaf4b60c0b17a75dfc9.tar.bz2 |
qapi: Rename QAPIDoc.Section.name to .tag
Since the previous commit, QAPIDoc.Section.name is either
None (untagged section) or the section's tag string ('Returns',
'@name', ...). Rename it to .tag.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240216145841.2099240-9-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/qapi-schema')
-rwxr-xr-x | tests/qapi-schema/test-qapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/test-qapi.py b/tests/qapi-schema/test-qapi.py index 14f7b62..4009543 100755 --- a/tests/qapi-schema/test-qapi.py +++ b/tests/qapi-schema/test-qapi.py @@ -130,7 +130,7 @@ def test_frontend(fname): for feat, section in doc.features.items(): print(' feature=%s\n%s' % (feat, section.text)) for section in doc.sections: - print(' section=%s\n%s' % (section.name, section.text)) + print(' section=%s\n%s' % (section.tag, section.text)) def open_test_result(dir_name, file_name, update): |