qapi-visit.py: Clean up confusing push_indent() / pop_indent() use
authorMarkus Armbruster <armbru@redhat.com>
Wed, 7 May 2014 07:53:47 +0000 (09:53 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 15 May 2014 18:00:45 +0000 (14:00 -0400)
commit468866b816f13c8141b692ac0280706c16b30185
treeabfe5b94c75a0f2c6d6b4978662c6477871df6a6
parente2cd0f4fb42b1fae65ad22e8efde9804446e6254
qapi-visit.py: Clean up confusing push_indent() / pop_indent() use

Changing implicit indentation in the middle of generating a block
makes following the code being generated unnecessarily hard.

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