summary refs log tree commit diff stats
path: root/scripts/qmp/qmp-shell
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/qmp-shell
parent5cb0233861750908f5942ffb36061442e84c86da (diff)
downloadfocaccia-qemu-31226369ab9fa654cdb37d977c5f396367065019.tar.gz
focaccia-qemu-31226369ab9fa654cdb37d977c5f396367065019.zip
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/qmp-shell')
-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')