aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/wrap
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-08-28 10:49:58 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2022-08-29 23:32:43 +0300
commitff7d86d05f0022a74845fda721bc22dda08cbb15 (patch)
treef6e5420bdf35313a0c7e6a64fea217e95d43edeb /mesonbuild/wrap
parent520bb7abbc2e2a83d4568ada7d8f0271d548b5d7 (diff)
downloadmeson-ff7d86d05f0022a74845fda721bc22dda08cbb15.zip
meson-ff7d86d05f0022a74845fda721bc22dda08cbb15.tar.gz
meson-ff7d86d05f0022a74845fda721bc22dda08cbb15.tar.bz2
flake8: fix unnecessary f-strings without any format placeholders
These can just be ordinary strings.
Diffstat (limited to 'mesonbuild/wrap')
-rw-r--r--mesonbuild/wrap/wrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py
index 171f92a..e8a39a5 100644
--- a/mesonbuild/wrap/wrap.py
+++ b/mesonbuild/wrap/wrap.py
@@ -558,8 +558,8 @@ class Resolver:
elif url.scheme == 'ftp':
urlstring = urllib.parse.urlunparse(url._replace(netloc=f'{login}:{password}@{url.netloc}'))
else:
- mlog.warning(f'Meson is not going to use netrc credentials for protocols other than https/ftp',
- fatal=False)
+ mlog.warning('Meson is not going to use netrc credentials for protocols other than https/ftp',
+ fatal=False)
try:
req = urllib.request.Request(urlstring, headers=headers)