projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de14ba2
)
scripts/qmp-shell: fix connect method signature
author
John Snow
<jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:12 +0000
(16:06 -0400)
committer
John Snow
<jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:06 +0000
(16:10 -0400)
It needs to match the parent's signature -- the negotiate parameter must
be optional.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id:
20210607200649
.
1840382
-6-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
scripts/qmp/qmp-shell
patch
|
blob
|
history
diff --git
a/scripts/qmp/qmp-shell
b/scripts/qmp/qmp-shell
index 413dd4d2de0e8b49025b8dca797d1185e87afde2..04ca6a25aee5caf9f5cecbaab4de16cf543581c2 100755
(executable)
--- a/
scripts/qmp/qmp-shell
+++ b/
scripts/qmp/qmp-shell
@@
-278,7
+278,7
@@
class QMPShell(qmp.QEMUMonitorProtocol):
self._print(resp)
return True
- def connect(self, negotiate):
+ def connect(self, negotiate
: bool = True
):
self._greeting = super(QMPShell, self).connect(negotiate)
self.__completer_setup()