python/qemu/qmp/legacy: Replace 'returns-whitelist' with the correct type
authorThomas Huth <thuth@redhat.com>
Mon, 11 Jul 2022 09:57:21 +0000 (11:57 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 18 Jul 2022 18:28:06 +0000 (20:28 +0200)
'returns-whitelist' has been renamed to 'command-returns-exceptions' in
commit b86df3747848 ("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>
python/qemu/qmp/legacy.py

index 03b5574618fad3fec50ccf59d253a92119be6167..1951754455a92fde69f97d8420fc7f2f43fa2655 100644 (file)
@@ -50,7 +50,7 @@ QMPObject = Dict[str, object]
 
 # QMPMessage can be outgoing commands or incoming events/returns.
 # 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,
 # {} is the QMPReturnValue.