mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 22:03:54 -06: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:
parent
2cae67bcb5
commit
8ec0e1a4e6
6 changed files with 15 additions and 18 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue