From 17e26f74fae859098faf7bcac45c3cb84d4bb8e7 Mon Sep 17 00:00:00 2001 From: Gilles Boccon-Gibod Date: Sun, 17 May 2020 19:11:41 -0700 Subject: [PATCH] fix lgtm warning --- tasks/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/build.py b/tasks/build.py index eb96e59f..a193a708 100644 --- a/tasks/build.py +++ b/tasks/build.py @@ -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 = ''