diff options
author | John Snow | 2022-03-30 19:28:05 +0200 |
---|---|---|
committer | John Snow | 2022-04-21 17:01:00 +0200 |
commit | 9fcd3930e0b2f4f7c224d0e76d209ff1b5118abc (patch) | |
tree | 22e222a12e189fd4e8efec7cdd680ba066d937a4 /python/qemu/aqmp/aqmp_tui.py | |
parent | python: temporarily silence pylint duplicate-code warnings (diff) | |
download | qemu-9fcd3930e0b2f4f7c224d0e76d209ff1b5118abc.tar.gz qemu-9fcd3930e0b2f4f7c224d0e76d209ff1b5118abc.tar.xz qemu-9fcd3930e0b2f4f7c224d0e76d209ff1b5118abc.zip |
python/aqmp: take QMPBadPortError and parse_address from qemu.qmp
Shift these definitions over from the qmp package to the async qmp
package.
(Licensing: this is a lateral move, from GPLv2 (only) to GPLv2 (only))
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Message-id: 20220330172812.3427355-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/aqmp/aqmp_tui.py')
-rw-r--r-- | python/qemu/aqmp/aqmp_tui.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/qemu/aqmp/aqmp_tui.py b/python/qemu/aqmp/aqmp_tui.py index 946ba9af24..59d3036be3 100644 --- a/python/qemu/aqmp/aqmp_tui.py +++ b/python/qemu/aqmp/aqmp_tui.py @@ -35,9 +35,8 @@ from pygments import token as Token import urwid import urwid_readline -from qemu.qmp import QEMUMonitorProtocol, QMPBadPortError - from .error import ProtocolError +from .legacy import QEMUMonitorProtocol, QMPBadPortError from .message import DeserializationError, Message, UnexpectedTypeError from .protocol import ConnectError, Runstate from .qmp_client import ExecInterruptedError, QMPClient |