qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 25/25] qapi/schema.py: Use python3 style super()


From: John Snow
Subject: [PATCH 25/25] qapi/schema.py: Use python3 style super()
Date: Tue, 22 Sep 2020 18:45:01 -0400

Signed-off-by: John Snow <jsnow@redhat.com>
---
 scripts/qapi/schema.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/qapi/schema.py b/scripts/qapi/schema.py
index baafe3babf..6b47ca26e0 100644
--- a/scripts/qapi/schema.py
+++ b/scripts/qapi/schema.py
@@ -309,7 +309,7 @@ def doc_type(self) -> Optional[str]:
         return self.name
 
     def check(self, schema: 'QAPISchema') -> None:
-        QAPISchemaEntity.check(self, schema)
+        super().check(schema)
         if 'deprecated' in [f.name for f in self.features]:
             raise QAPISemError(
                 self.info, "feature 'deprecated' is not supported for types")
-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]