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>
This commit is contained in:
John Snow 2021-06-07 16:06:16 -04:00
parent 5cb0233861
commit 31226369ab
1 changed files with 1 additions and 0 deletions

View File

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