From: John Snow Date: Mon, 7 Jun 2021 20:06:16 +0000 (-0400) Subject: scripts/qmp-shell: declare verbose in __init__ X-Git-Tag: v6.1.0-rc0~66^2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31226369ab9fa654cdb37d977c5f396367065019;p=thirdparty%2Fqemu.git scripts/qmp-shell: declare verbose in __init__ Linters get angry when we don't define state at init time. Signed-off-by: John Snow Message-id: 20210607200649.1840382-10-jsnow@redhat.com Signed-off-by: John Snow --- diff --git a/scripts/qmp/qmp-shell b/scripts/qmp/qmp-shell index 3066e37ae55..40274543249 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')