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:
parent
5cb0233861
commit
31226369ab
|
@ -120,6 +120,7 @@ class QMPShell(qmp.QEMUMonitorProtocol):
|
||||||
self._actions = list()
|
self._actions = list()
|
||||||
self._histfile = os.path.join(os.path.expanduser('~'),
|
self._histfile = os.path.join(os.path.expanduser('~'),
|
||||||
'.qmp-shell_history')
|
'.qmp-shell_history')
|
||||||
|
self._verbose = False
|
||||||
|
|
||||||
def _fill_completion(self):
|
def _fill_completion(self):
|
||||||
cmds = self.cmd('query-commands')
|
cmds = self.cmd('query-commands')
|
||||||
|
|
Loading…
Reference in New Issue