summary refs log tree commit diff stats
path: root/scripts/qapi/gen.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-03-04 16:59:29 +0100
committerMarkus Armbruster <armbru@redhat.com>2020-03-05 09:24:11 +0100
commitbaa310f1bbdfedfd3e0f3f1f162bb97748ca0a94 (patch)
treef2dda8ae127d838155133e7328f579f40797c554 /scripts/qapi/gen.py
parentabfa865014ab17941eb1fcb7cc2fa293a25843c4 (diff)
downloadfocaccia-qemu-baa310f1bbdfedfd3e0f3f1f162bb97748ca0a94.tar.gz
focaccia-qemu-baa310f1bbdfedfd3e0f3f1f162bb97748ca0a94.zip
qapi: Inheriting from object is pointless with Python 3, drop
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200304155932.20452-2-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/qapi/gen.py')
-rw-r--r--scripts/qapi/gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qapi/gen.py b/scripts/qapi/gen.py
index 95afae0615..a53a705c73 100644
--- a/scripts/qapi/gen.py
+++ b/scripts/qapi/gen.py
@@ -22,7 +22,7 @@ from qapi.common import *
 from qapi.schema import QAPISchemaVisitor
 
 
-class QAPIGen(object):
+class QAPIGen:
 
     def __init__(self, fname):
         self.fname = fname