diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-01-28 15:42:42 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-29 22:06:11 +0200 |
commit | da34bea893b3b309800e0f03021a99ee58c599d6 (patch) | |
tree | fe58634de2ad20678a25292571f5bd2cfdb64847 /mesonbuild/wrap/wrap.py | |
parent | 4e31ca3abeecf0591cccc7052da34c2735759030 (diff) | |
download | meson-da34bea893b3b309800e0f03021a99ee58c599d6.zip meson-da34bea893b3b309800e0f03021a99ee58c599d6.tar.gz meson-da34bea893b3b309800e0f03021a99ee58c599d6.tar.bz2 |
pep8 py37
Diffstat (limited to 'mesonbuild/wrap/wrap.py')
-rw-r--r-- | mesonbuild/wrap/wrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py index f4134d3..e5d0a71 100644 --- a/mesonbuild/wrap/wrap.py +++ b/mesonbuild/wrap/wrap.py @@ -349,7 +349,7 @@ class Resolver: if os.path.exists(dst_file): try: os.remove(dst_file) - except PermissionError as exc: + except PermissionError: os.chmod(dst_file, stat.S_IWUSR) os.remove(dst_file) shutil.copy2(src_file, dst_dir) |