qapi: Prepare for catching more semantic parse errors
commit268a1c5eb10832c2e4476d3fe199ea547dabecb7
authorEric Blake <eblake@redhat.com>
Mon, 4 May 2015 15:05:09 +0000 (4 09:05 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 5 May 2015 16:39:00 +0000 (5 18:39 +0200)
treecc67421189cfe00b49e2cbc1b919f9af5f647ce6
parent44bd1276a7dea747c41f250cb71ab65965343a7f
qapi: Prepare for catching more semantic parse errors

This patch widens the scope of a try block (with the attending
reindentation required by Python) in preparation for a future
patch adding more instances of QAPIExprError inside the block.
It's easier to separate indentation from semantic changes, so
this patch has no real behavior change.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi.py