qapi/schema: Clean up around QAPISchemaEntity.connect_doc()
commite4405b30695cda6fad69a4411c05b73d538c7992
authorMarkus Armbruster <armbru@redhat.com>
Tue, 17 Mar 2020 11:54:36 +0000 (17 12:54 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 17 Mar 2020 18:58:34 +0000 (17 19:58 +0100)
tree9616166622b4d04a896471d609f640f140ca9350
parent11deae8cd2ce1e1f4240ec7d880940f25ebd65b1
qapi/schema: Clean up around QAPISchemaEntity.connect_doc()

QAPISchemaEntity calls doc.connect_feature() in .check().  Improper
since commit ee1e6a1f6c8 split .connect_doc() off .check().  Move the
call.  Requires making the children call super().connect_doc() as they
should.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200317115459.31821-12-armbru@redhat.com>
scripts/qapi/schema.py