From 16ed82a62f535475b0eff6acc2d7c34c5265c16f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 12 Jun 2022 11:50:06 -0400 Subject: flake8: remove unused variable --- mesonbuild/mdevenv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mdevenv.py b/mesonbuild/mdevenv.py index 8f4a351..041d22d 100644 --- a/mesonbuild/mdevenv.py +++ b/mesonbuild/mdevenv.py @@ -60,7 +60,7 @@ def get_wine_shortpath(build_dir: str, winecmd: str, wine_paths: T.List[str]) -> stdout = subprocess.check_output([winecmd, 'cmd', '/C', bat_file.name] + abs_paths, encoding='utf-8', stderr=subprocess.DEVNULL) return rel_paths + [p for p in set(stdout.split(';')) if p] - except subprocess.CalledProcessError as e: + except subprocess.CalledProcessError: return rel_paths + abs_paths finally: os.unlink(bat_file.name) -- cgit v1.1