]> git.ipfire.org Git - thirdparty/qemu.git/commit
scripts/qmp-shell: make QMPCompleter returns explicit
authorJohn Snow <jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:19 +0000 (16:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:06 +0000 (16:10 -0400)
commit2813dee0536c1b5d114c0fa0bdeb25317a38f486
tree21db5a7150760ebacc684d4df852cddd1411f9bd
parent50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50
scripts/qmp-shell: make QMPCompleter returns explicit

This function returns None when it doesn't find a match; do that
explicitly.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210607200649.1840382-13-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
scripts/qmp/qmp-shell