qapi: Unify representation of doc section without name
commitfc3f0df18711121ddbcd04bac3a6abb3fb9392be
authorMarkus Armbruster <armbru@redhat.com>
Mon, 2 Oct 2017 14:13:37 +0000 (2 16:13 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 20 Dec 2017 18:18:33 +0000 (20 19:18 +0100)
tree53efac755ea5b432183713d9243291f43857294c
parent0968dc9ae4d3f309c4ab4bddc2a69c8d9b2786ae
qapi: Unify representation of doc section without name

We have two representations of sections without a name: the main
section uses name=None, the others name=''.  Standardize on name=None.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20171002141341.24616-8-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
scripts/qapi.py
scripts/qapi2texi.py
tests/qapi-schema/doc-bad-section.out
tests/qapi-schema/doc-good.out