diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-12 11:50:06 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-06-13 13:34:39 +0300 |
commit | 16ed82a62f535475b0eff6acc2d7c34c5265c16f (patch) | |
tree | b6452da9a5289bc0db5030ec3a7eddde60449558 | |
parent | 85f3fc2022265d69105468468787825f93580d29 (diff) | |
download | meson-16ed82a62f535475b0eff6acc2d7c34c5265c16f.zip meson-16ed82a62f535475b0eff6acc2d7c34c5265c16f.tar.gz meson-16ed82a62f535475b0eff6acc2d7c34c5265c16f.tar.bz2 |
flake8: remove unused variable
-rw-r--r-- | mesonbuild/mdevenv.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |