diff options
author | Markus Armbruster | 2020-03-04 16:59:31 +0100 |
---|---|---|
committer | Markus Armbruster | 2020-03-05 09:24:11 +0100 |
commit | 2cae67bcb5eab314f8e2030f04face602422bd60 (patch) | |
tree | 0047b631dde7caad69d304bc070e0c5892259403 /scripts/qapi/types.py | |
parent | qapi: Drop conditionals for Python 2 (diff) | |
download | qemu-2cae67bcb5eab314f8e2030f04face602422bd60.tar.gz qemu-2cae67bcb5eab314f8e2030f04face602422bd60.tar.xz qemu-2cae67bcb5eab314f8e2030f04face602422bd60.zip |
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/types.py')
-rw-r--r-- | scripts/qapi/types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qapi/types.py b/scripts/qapi/types.py index 99dcaf7074..3c83b6e4be 100644 --- a/scripts/qapi/types.py +++ b/scripts/qapi/types.py @@ -241,8 +241,8 @@ void qapi_free_%(c_name)s(%(c_name)s *obj) class QAPISchemaGenTypeVisitor(QAPISchemaModularCVisitor): def __init__(self, prefix): - QAPISchemaModularCVisitor.__init__( - self, prefix, 'qapi-types', ' * Schema-defined QAPI types', + super().__init__( + prefix, 'qapi-types', ' * Schema-defined QAPI types', ' * Built-in QAPI types', __doc__) def _begin_system_module(self, name): |