]> git.proxmox.com Git - mirror_qemu.git/commit
qapi2texi: Clean up texi_sections()
authorMarkus Armbruster <armbru@redhat.com>
Mon, 2 Oct 2017 14:13:36 +0000 (16:13 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 20 Dec 2017 18:18:33 +0000 (19:18 +0100)
commit0968dc9ae4d3f309c4ab4bddc2a69c8d9b2786ae
treefbe14555f518b021ab888881e3f72b8b3482d797
parentcfa438ff53937c78c9a0e50b4b774ea5a6430710
qapi2texi: Clean up texi_sections()

Repurposing the function parameter doc for stepping through
doc.sections.__str__() is not nice.  Use new variable @text instead.

While there, eliminate variables name and func.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20171002141341.24616-7-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
scripts/qapi2texi.py