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>
master
John Snow 2021-06-07 16:06:10 -04:00
parent 169b43b367
commit 70e5674018
1 changed files with 2 additions and 2 deletions

View File

@ -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):