diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-03-16 08:13:13 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-04-24 15:09:24 +0200 |
commit | ecee568ef9bc81a2a74399290ad0e445c1c36d2c (patch) | |
tree | b3cf3410dc4c9f43fda166d7ff6be0d84a9b0944 /scripts | |
parent | bc5d3031642b15096876d232534cee38d0ab0484 (diff) | |
download | qemu-ecee568ef9bc81a2a74399290ad0e445c1c36d2c.zip qemu-ecee568ef9bc81a2a74399290ad0e445c1c36d2c.tar.gz qemu-ecee568ef9bc81a2a74399290ad0e445c1c36d2c.tar.bz2 |
qapi/schema: Use super()
Commit 2cae67bcb5e (qapi: Use super() now we have Python 3) converted
the code to super(). Shortly after, commit f965e8fea6a (qapi: New
special feature flag "deprecated") neglected to use super(). Convert
it now.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230316071325.492471-3-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qapi/schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qapi/schema.py b/scripts/qapi/schema.py index 207e4d7..719152f 100644 --- a/scripts/qapi/schema.py +++ b/scripts/qapi/schema.py @@ -259,7 +259,7 @@ class QAPISchemaType(QAPISchemaEntity): return not self.c_type().endswith(POINTER_SUFFIX) def check(self, schema): - QAPISchemaEntity.check(self, schema) + super().check(schema) for feat in self.features: if feat.is_special(): raise QAPISemError( |