aboutsummaryrefslogtreecommitdiff
path: root/scripts/qmp
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-06-07 16:06:16 -0400
committerJohn Snow <jsnow@redhat.com>2021-06-18 16:10:06 -0400
commit31226369ab9fa654cdb37d977c5f396367065019 (patch)
treee9040b401c5077d47d10d93d7d604dd1134b9ebd /scripts/qmp
parent5cb0233861750908f5942ffb36061442e84c86da (diff)
scripts/qmp-shell: declare verbose in __init__
Linters get angry when we don't define state at init time. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20210607200649.1840382-10-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/qmp')
-rwxr-xr-xscripts/qmp/qmp-shell1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/qmp/qmp-shell b/scripts/qmp/qmp-shell
index 3066e37ae5..4027454324 100755
--- a/scripts/qmp/qmp-shell
+++ b/scripts/qmp/qmp-shell
@@ -120,6 +120,7 @@ class QMPShell(qmp.QEMUMonitorProtocol):
self._actions = list()
self._histfile = os.path.join(os.path.expanduser('~'),
'.qmp-shell_history')
+ self._verbose = False
def _fill_completion(self):
cmds = self.cmd('query-commands')