diff options
| author | John Snow <jsnow@redhat.com> | 2022-01-10 18:28:49 -0500 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2022-01-21 16:01:31 -0500 |
| commit | 6e7751dc388df6daf425db0e245d4d3a10859803 (patch) | |
| tree | e0956d7fbfe529bc012a4a2a6fb07ed97750f77a /python/qemu/aqmp/__init__.py | |
| parent | 728dcac5e356ce5b948943f21c0c72a1b2d96122 (diff) | |
| download | focaccia-qemu-6e7751dc388df6daf425db0e245d4d3a10859803.tar.gz focaccia-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/__init__.py')
| -rw-r--r-- | python/qemu/aqmp/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/qemu/aqmp/__init__.py b/python/qemu/aqmp/__init__.py index 05f467c141..4c22c38079 100644 --- a/python/qemu/aqmp/__init__.py +++ b/python/qemu/aqmp/__init__.py @@ -6,7 +6,7 @@ asynchronously with QMP protocol servers, as implemented by QEMU, the QEMU Guest Agent, and the QEMU Storage Daemon. `QMPClient` provides the main functionality of this package. All errors -raised by this library derive from `AQMPError`, see `aqmp.error` for +raised by this library derive from `QMPError`, see `aqmp.error` for additional detail. See `aqmp.events` for an in-depth tutorial on managing QMP events. """ @@ -23,7 +23,7 @@ managing QMP events. import logging -from .error import AQMPError +from .error import QMPError from .events import EventListener from .message import Message from .protocol import ( @@ -48,7 +48,7 @@ __all__ = ( 'Runstate', # Exceptions, most generic to most explicit - 'AQMPError', + 'QMPError', 'StateError', 'ConnectError', 'ExecuteError', |