aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/wrap/wrap.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-01-28 15:42:42 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-01-29 22:06:11 +0200
commitda34bea893b3b309800e0f03021a99ee58c599d6 (patch)
treefe58634de2ad20678a25292571f5bd2cfdb64847 /mesonbuild/wrap/wrap.py
parent4e31ca3abeecf0591cccc7052da34c2735759030 (diff)
downloadmeson-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.py2
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)