fix lgtm warning

This commit is contained in:
Gilles Boccon-Gibod 2020-05-17 19:11:41 -07:00
parent 8b45750281
commit 17e26f74fa

View File

@ -19,7 +19,7 @@ def build(ctx, clean = False):
shutil.rmtree(target_dir, ignore_errors=True)
try:
os.makedirs(target_dir)
except:
except FileExistsError:
pass
with ctx.cd(target_dir):
generator = ''