]> git.proxmox.com Git - mirror_qemu.git/blobdiff - python/qemu/qmp/legacy.py
python/qemu: rename command() to cmd()
[mirror_qemu.git] / python / qemu / qmp / legacy.py
index e5fa1ce9c402826b203ea2db7f53d9bb5ce1e6dc..22a2b5616efa5d32e86d2c61fe56cf3034cec2a6 100644 (file)
@@ -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
         """