aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2022-07-11 11:57:21 +0200
committerThomas Huth <thuth@redhat.com>2022-07-18 20:28:06 +0200
commit9b0ecfaba5920ddf8601d7b31746a428aa3779c6 (patch)
tree0955b69d6c3deda2894bdac8ba4a8a468b73b696 /python
parent0a979a1320a4ea10c6a26c0d133a147fee5b5ecf (diff)
python/qemu/qmp/legacy: Replace 'returns-whitelist' with the correct type
'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>
Diffstat (limited to 'python')
-rw-r--r--python/qemu/qmp/legacy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qemu/qmp/legacy.py b/python/qemu/qmp/legacy.py
index 03b5574618..1951754455 100644
--- a/python/qemu/qmp/legacy.py
+++ b/python/qemu/qmp/legacy.py
@@ -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.