diff options
author | Markus Armbruster | 2020-03-04 16:59:29 +0100 |
---|---|---|
committer | Markus Armbruster | 2020-03-05 09:24:11 +0100 |
commit | baa310f1bbdfedfd3e0f3f1f162bb97748ca0a94 (patch) | |
tree | f2dda8ae127d838155133e7328f579f40797c554 /scripts/qapi/source.py | |
parent | Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-virtiofs-2020... (diff) | |
download | qemu-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.py | 4 |
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 |