X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=python%2Fqemu%2Fqmp%2Flegacy.py;fp=python%2Fqemu%2Fqmp%2Flegacy.py;h=22a2b5616efa5d32e86d2c61fe56cf3034cec2a6;hb=684750ab4f8a3ad69512b71532408be3ac2547d4;hp=e5fa1ce9c402826b203ea2db7f53d9bb5ce1e6dc;hpb=37274707f6f3868fae7e0055d9a703006fc142d0;p=mirror_qemu.git diff --git a/python/qemu/qmp/legacy.py b/python/qemu/qmp/legacy.py index e5fa1ce9c4..22a2b5616e 100644 --- a/python/qemu/qmp/legacy.py +++ b/python/qemu/qmp/legacy.py @@ -207,7 +207,7 @@ class QEMUMonitorProtocol: qmp_cmd['arguments'] = args return self.cmd_obj(qmp_cmd) - def command(self, cmd: str, **kwds: object) -> QMPReturnValue: + def cmd(self, cmd: str, **kwds: object) -> QMPReturnValue: """ Build and send a QMP command to the monitor, report errors if any """