diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-13 13:58:54 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-16 18:19:13 -0500 |
commit | 0b431a6b4a8ff70905619ce787324c05df81b560 (patch) | |
tree | a2d27d97de4ef28dd4bfb53f0548868737399cb9 | |
parent | 60c893f1c2d348d5c8530c9b0928e6a0bc082217 (diff) | |
download | meson-0b431a6b4a8ff70905619ce787324c05df81b560.zip meson-0b431a6b4a8ff70905619ce787324c05df81b560.tar.gz meson-0b431a6b4a8ff70905619ce787324c05df81b560.tar.bz2 |
fix missing f-string preventing variable formatting
Detected by flake8 which reported that `e` was an unused variable.
-rw-r--r-- | mesonbuild/minstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py index d495f63..75a3240 100644 --- a/mesonbuild/minstall.py +++ b/mesonbuild/minstall.py @@ -215,7 +215,7 @@ def set_mode(path: str, mode: T.Optional['FileMode'], default_umask: T.Union[str try: set_chmod(path, mode.perms, follow_symlinks=False) except PermissionError as e: - print('{path!r}: Unable to set permissions {mode.perms_s!r}: {e.strerror}, ignoring...') + print(f'{path!r}: Unable to set permissions {mode.perms_s!r}: {e.strerror}, ignoring...') else: sanitize_permissions(path, default_umask) |