scripts/qmp-shell: Fix empty-transaction invocation
authorJohn Snow <jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:41 +0000 (16:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:07 +0000 (16:10 -0400)
commitc83055ef1d47cd03667d7608f3f5ff232484146e
treec56873d76b3cc6ac3bea60f6daf9d0a9bdc0f18b
parent74688377feb551101f8a3e3de483df56d30299e4
scripts/qmp-shell: Fix empty-transaction invocation

calling "transaction( )" is pointless, but valid. Rework the parser to
allow this kind of invocation. This helps clean up exception handling
later by removing accidental breakages of the parser that aren't
explicitly forbidden.

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