aboutsummaryrefslogtreecommitdiff
path: root/scripts/qmp
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-06-07 16:06:10 -0400
committerJohn Snow <jsnow@redhat.com>2021-06-18 16:10:06 -0400
commit70e56740181a980a5bb60c3b0223e34e2616caf4 (patch)
tree848675ece9201bb499626a268f75e1244c219b5f /scripts/qmp
parent169b43b367b874076c544984fc3e63e3c5c49763 (diff)
downloadqemu-70e56740181a980a5bb60c3b0223e34e2616caf4.zip
qemu-70e56740181a980a5bb60c3b0223e34e2616caf4.tar.gz
qemu-70e56740181a980a5bb60c3b0223e34e2616caf4.tar.bz2
scripts/qmp-shell: fix show_banner signature
The signatures need to match. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20210607200649.1840382-4-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/qmp')
-rwxr-xr-xscripts/qmp/qmp-shell4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qmp/qmp-shell b/scripts/qmp/qmp-shell
index 62a6377..18bf49b 100755
--- a/scripts/qmp/qmp-shell
+++ b/scripts/qmp/qmp-shell
@@ -389,8 +389,8 @@ class HMPShell(QMPShell):
print('%s: %s' % (resp['error']['class'], resp['error']['desc']))
return True
- def show_banner(self):
- QMPShell.show_banner(self, msg='Welcome to the HMP shell!')
+ def show_banner(self, msg='Welcome to the HMP shell!'):
+ QMPShell.show_banner(self, msg)
def die(msg):