scripts/qmp-shell: use isinstance() instead of type()
authorJohn Snow <jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:23 +0000 (16:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:07 +0000 (16:10 -0400)
commit90bd8eb8dcdc94da964786ddedd90c30eb54ada7
treec3e98596cdc5954fe45d2ac9e5bb8fa7c1540d55
parent73f699c903d429dfcd3b43232155cd515a854e80
scripts/qmp-shell: use isinstance() instead of type()

A bit more idiomatic, and quiets some linter warnings.

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