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:
Thomas Huth 2022-07-11 11:57:21 +02:00
parent 0a979a1320
commit 9b0ecfaba5

View File

@ -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.