python: rename 'aqmp-tui' to 'qmp-tui'

This is the last vestige of the "aqmp" moniker surviving in the tree; remove it.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Message-id: 20220330172812.3427355-9-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
John Snow 2022-03-30 13:28:11 -04:00
parent 37094b6dd5
commit b1a9b1f7a6
2 changed files with 9 additions and 9 deletions

View File

@ -6,13 +6,13 @@
# This work is licensed under the terms of the GNU LGPL, version 2 or # This work is licensed under the terms of the GNU LGPL, version 2 or
# later. See the COPYING file in the top-level directory. # later. See the COPYING file in the top-level directory.
""" """
AQMP TUI QMP TUI
AQMP TUI is an asynchronous interface built on top the of the AQMP library. QMP TUI is an asynchronous interface built on top the of the QMP library.
It is the successor of QMP-shell and is bought-in as a replacement for it. It is the successor of QMP-shell and is bought-in as a replacement for it.
Example Usage: aqmp-tui <SOCKET | TCP IP:PORT> Example Usage: qmp-tui <SOCKET | TCP IP:PORT>
Full Usage: aqmp-tui --help Full Usage: qmp-tui --help
""" """
import argparse import argparse
@ -129,7 +129,7 @@ def has_handler_type(logger: logging.Logger,
class App(QMPClient): class App(QMPClient):
""" """
Implements the AQMP TUI. Implements the QMP TUI.
Initializes the widgets and starts the urwid event loop. Initializes the widgets and starts the urwid event loop.
@ -612,7 +612,7 @@ def main() -> None:
Driver of the whole script, parses arguments, initialize the TUI and Driver of the whole script, parses arguments, initialize the TUI and
the logger. the logger.
""" """
parser = argparse.ArgumentParser(description='AQMP TUI') parser = argparse.ArgumentParser(description='QMP TUI')
parser.add_argument('qmp_server', help='Address of the QMP server. ' parser.add_argument('qmp_server', help='Address of the QMP server. '
'Format <UNIX socket path | TCP addr:port>') 'Format <UNIX socket path | TCP addr:port>')
parser.add_argument('--num-retries', type=int, default=10, parser.add_argument('--num-retries', type=int, default=10,

View File

@ -51,7 +51,7 @@ devel =
fuse = fuse =
fusepy >= 2.0.4 fusepy >= 2.0.4
# AQMP TUI dependencies # QMP TUI dependencies
tui = tui =
urwid >= 2.1.2 urwid >= 2.1.2
urwid-readline >= 0.13 urwid-readline >= 0.13
@ -68,7 +68,7 @@ console_scripts =
qemu-ga-client = qemu.utils.qemu_ga_client:main qemu-ga-client = qemu.utils.qemu_ga_client:main
qmp-shell = qemu.qmp.qmp_shell:main qmp-shell = qemu.qmp.qmp_shell:main
qmp-shell-wrap = qemu.qmp.qmp_shell:main_wrap qmp-shell-wrap = qemu.qmp.qmp_shell:main_wrap
aqmp-tui = qemu.qmp.aqmp_tui:main [tui] qmp-tui = qemu.qmp.qmp_tui:main [tui]
[flake8] [flake8]
extend-ignore = E722 # Prefer pylint's bare-except checks to flake8's extend-ignore = E722 # Prefer pylint's bare-except checks to flake8's
@ -84,7 +84,7 @@ namespace_packages = True
# fusepy has no type stubs: # fusepy has no type stubs:
allow_subclassing_any = True allow_subclassing_any = True
[mypy-qemu.qmp.aqmp_tui] [mypy-qemu.qmp.qmp_tui]
# urwid and urwid_readline have no type stubs: # urwid and urwid_readline have no type stubs:
allow_subclassing_any = True allow_subclassing_any = True