qapi/introspect.py: replace 'extra' dict with 'comment' argument
commit5f50cede4afe71c91b028d6433adb7b8db9a73b8
authorJohn Snow <jsnow@redhat.com>
Tue, 16 Feb 2021 02:17:57 +0000 (15 21:17 -0500)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 18 Feb 2021 18:37:49 +0000 (18 19:37 +0100)
tree4a6bd346f735296bceb4781ea856cacbf7e494be
parent84cf09915fdaba38a5d5f21baff38e94dd98607f
qapi/introspect.py: replace 'extra' dict with 'comment' argument

This is only used to pass in a dictionary with a comment already set, so
skip the runaround and just accept the (optional) comment.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210216021809.134886-8-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/introspect.py