summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Snow2021-06-04 17:55:30 +0200
committerJohn Snow2021-06-18 22:10:06 +0200
commit1e129afc311a4a3897e83a308cce79e2c1cc3d89 (patch)
tree5761d974288c59e68dd388e0ebd51383c478a638
parentscripts/qemu-ga-client: add mypy type hints (diff)
downloadqemu-1e129afc311a4a3897e83a308cce79e2c1cc3d89.tar.gz
qemu-1e129afc311a4a3897e83a308cce79e2c1cc3d89.tar.xz
qemu-1e129afc311a4a3897e83a308cce79e2c1cc3d89.zip
scripts/qemu-ga-client: move to python/qemu/qmp/qemu_ga_client.py
The script itself will be unavailable for a few commits before being restored, with no way to run it right after this commit. This helps move git history into the new file. To prevent linter regressions, though, we do need to immediately touch up the filename to remove dashes (to make the module importable), and remove the executable bit. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20210604155532.1499282-10-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
-rwxr-xr-xpython/qemu/qmp/qemu_ga_client.py (renamed from scripts/qmp/qemu-ga-client)2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/qmp/qemu-ga-client b/python/qemu/qmp/qemu_ga_client.py
index a7d0ef8347..d2938ad47c 100755
--- a/scripts/qmp/qemu-ga-client
+++ b/python/qemu/qmp/qemu_ga_client.py
@@ -52,8 +52,6 @@ from typing import (
Sequence,
)
-
-sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
from qemu import qmp
from qemu.qmp import SocketAddrT