diff options
author | John Snow | 2022-01-11 00:28:49 +0100 |
---|---|---|
committer | John Snow | 2022-01-21 22:01:31 +0100 |
commit | 6e7751dc388df6daf425db0e245d4d3a10859803 (patch) | |
tree | e0956d7fbfe529bc012a4a2a6fb07ed97750f77a /python/qemu/aqmp/legacy.py | |
parent | python/aqmp: add SocketAddrT to package root (diff) | |
download | qemu-6e7751dc388df6daf425db0e245d4d3a10859803.tar.gz qemu-6e7751dc388df6daf425db0e245d4d3a10859803.tar.xz qemu-6e7751dc388df6daf425db0e245d4d3a10859803.zip |
python/aqmp: rename AQMPError to QMPError
This is in preparation for renaming qemu.aqmp to qemu.qmp. I should have
done this from this from the very beginning, but it's a convenient time
to make sure this churn is taken care of.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'python/qemu/aqmp/legacy.py')
-rw-r--r-- | python/qemu/aqmp/legacy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qemu/aqmp/legacy.py b/python/qemu/aqmp/legacy.py index 9431fe9330..27df22818a 100644 --- a/python/qemu/aqmp/legacy.py +++ b/python/qemu/aqmp/legacy.py @@ -17,7 +17,7 @@ from typing import ( import qemu.qmp -from .error import AQMPError +from .error import QMPError from .protocol import Runstate, SocketAddrT from .qmp_client import QMPClient @@ -168,7 +168,7 @@ class QEMUMonitorProtocol(qemu.qmp.QEMUMonitorProtocol): # Nothing we can do about it now, but if we don't raise our # own error, the user will be treated to a lot of traceback # they might not understand. - raise AQMPError( + raise QMPError( "QEMUMonitorProtocol.close()" " was not called before object was garbage collected" ) |