summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorMarkus Armbruster2020-03-04 16:59:29 +0100
committerMarkus Armbruster2020-03-05 09:24:11 +0100
commitbaa310f1bbdfedfd3e0f3f1f162bb97748ca0a94 (patch)
treef2dda8ae127d838155133e7328f579f40797c554 /scripts/qapi/source.py
parentMerge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-virtiofs-2020... (diff)
downloadqemu-baa310f1bbdfedfd3e0f3f1f162bb97748ca0a94.tar.gz
qemu-baa310f1bbdfedfd3e0f3f1f162bb97748ca0a94.tar.xz
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/source.py')
-rw-r--r--scripts/qapi/source.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qapi/source.py b/scripts/qapi/source.py
index 8956885033..e97b9a8e15 100644
--- a/scripts/qapi/source.py
+++ b/scripts/qapi/source.py
@@ -13,7 +13,7 @@ import copy
import sys
-class QAPISchemaPragma(object):
+class QAPISchemaPragma:
def __init__(self):
# Are documentation comments required?
self.doc_required = False
@@ -23,7 +23,7 @@ class QAPISchemaPragma(object):
self.name_case_whitelist = []
-class QAPISourceInfo(object):
+class QAPISourceInfo:
def __init__(self, fname, line, parent):
self.fname = fname
self.line = line