From: John Snow Date: Fri, 4 Jun 2021 15:55:30 +0000 (-0400) Subject: scripts/qemu-ga-client: move to python/qemu/qmp/qemu_ga_client.py X-Git-Tag: v6.1.0-rc0~66^2~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e129afc311a4a3897e83a308cce79e2c1cc3d89;p=thirdparty%2Fqemu.git 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 Message-id: 20210604155532.1499282-10-jsnow@redhat.com Signed-off-by: John Snow --- diff --git a/scripts/qmp/qemu-ga-client b/python/qemu/qmp/qemu_ga_client.py similarity index 99% rename from scripts/qmp/qemu-ga-client rename to python/qemu/qmp/qemu_ga_client.py index a7d0ef83472..d2938ad47ce 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