diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-03-04 16:59:31 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-03-05 09:24:11 +0100 |
commit | 2cae67bcb5eab314f8e2030f04face602422bd60 (patch) | |
tree | 0047b631dde7caad69d304bc070e0c5892259403 /scripts/qapi/commands.py | |
parent | ed39c03e2f67e9dcc0b68a9740f73b79d252b76b (diff) |
qapi: Use super() now we have Python 3
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200304155932.20452-4-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
-rw-r--r-- | scripts/qapi/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qapi/commands.py b/scripts/qapi/commands.py index afa55b055c..8bb6316061 100644 --- a/scripts/qapi/commands.py +++ b/scripts/qapi/commands.py @@ -237,8 +237,8 @@ void %(c_prefix)sqmp_init_marshal(QmpCommandList *cmds) class QAPISchemaGenCommandVisitor(QAPISchemaModularCVisitor): def __init__(self, prefix): - QAPISchemaModularCVisitor.__init__( - self, prefix, 'qapi-commands', + super().__init__( + prefix, 'qapi-commands', ' * Schema-defined QAPI/QMP commands', None, __doc__) self._regy = QAPIGenCCode(None) self._visited_ret_types = {} |