qapi/schema: Use super()
Commit2cae67bcb5
(qapi: Use super() now we have Python 3) converted the code to super(). Shortly after, commitf965e8fea6
(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>
This commit is contained in:
parent
bc5d303164
commit
ecee568ef9
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user