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>
This commit is contained in:
Markus Armbruster 2020-03-04 16:59:29 +01:00
parent abfa865014
commit baa310f1bb
4 changed files with 12 additions and 12 deletions

View file

@ -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