]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
scripts/qmp-shell: declare verbose in __init__
authorJohn Snow <jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:16 +0000 (16:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:06 +0000 (16:10 -0400)
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>
scripts/qmp/qmp-shell

index 3066e37ae55e8b95e193f59e843a22ed14286610..402745432494708855db3eee4b3bbd781226201a 100755 (executable)
@@ -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')