mirror of
https://github.com/mii443/qemu.git
synced 2025-08-30 19:09:35 +00:00
qapi: Brush off some (py)lint
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200304155932.20452-5-armbru@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>
This commit is contained in:
@ -45,10 +45,10 @@ class QAPIGen:
|
||||
|
||||
def write(self, output_dir):
|
||||
pathname = os.path.join(output_dir, self.fname)
|
||||
dir = os.path.dirname(pathname)
|
||||
if dir:
|
||||
odir = os.path.dirname(pathname)
|
||||
if odir:
|
||||
try:
|
||||
os.makedirs(dir)
|
||||
os.makedirs(odir)
|
||||
except os.error as e:
|
||||
if e.errno != errno.EEXIST:
|
||||
raise
|
||||
@ -261,6 +261,9 @@ class QAPISchemaModularCVisitor(QAPISchemaVisitor):
|
||||
genc.write(output_dir)
|
||||
genh.write(output_dir)
|
||||
|
||||
def _begin_system_module(self, name):
|
||||
pass
|
||||
|
||||
def _begin_user_module(self, name):
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user