summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorThomas Huth2022-07-11 11:57:21 +0200
committerThomas Huth2022-07-18 20:28:06 +0200
commit9b0ecfaba5920ddf8601d7b31746a428aa3779c6 (patch)
tree0955b69d6c3deda2894bdac8ba4a8a468b73b696 /python
parentutil: Fix broken build on Haiku (diff)
downloadqemu-9b0ecfaba5920ddf8601d7b31746a428aa3779c6.tar.gz
qemu-9b0ecfaba5920ddf8601d7b31746a428aa3779c6.tar.xz
qemu-9b0ecfaba5920ddf8601d7b31746a428aa3779c6.zip
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.