python/qemu/qmp/legacy: Replace 'returns-whitelist' with the correct type
'returns-whitelist' has been renamed to 'command-returns-exceptions' in
commit b86df37478
("qapi: Rename pragma *-whitelist to *-exceptions").
Message-Id: <20220711095721.61280-1-thuth@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
0a979a1320
commit
9b0ecfaba5
@ -50,7 +50,7 @@ QMPObject = Dict[str, object]
|
|||||||
|
|
||||||
# QMPMessage can be outgoing commands or incoming events/returns.
|
# QMPMessage can be outgoing commands or incoming events/returns.
|
||||||
# QMPReturnValue is usually a dict/json object, but due to QAPI's
|
# QMPReturnValue is usually a dict/json object, but due to QAPI's
|
||||||
# 'returns-whitelist', it can actually be anything.
|
# 'command-returns-exceptions', it can actually be anything.
|
||||||
#
|
#
|
||||||
# {'return': {}} is a QMPMessage,
|
# {'return': {}} is a QMPMessage,
|
||||||
# {} is the QMPReturnValue.
|
# {} is the QMPReturnValue.
|
||||||
|
Loading…
Reference in New Issue
Block a user