diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-07-08 00:06:10 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-04 16:29:32 -0400 |
commit | d06cc042eb21bc16a4a5cc957a3615e5e3a9743a (patch) | |
tree | 0907391e3581d707770584f3416a87c0cea18f77 /mesonbuild/interpreter/compiler.py | |
parent | 47ae0b82f0483960fa7a3eabc68700b982688834 (diff) | |
download | meson-d06cc042eb21bc16a4a5cc957a3615e5e3a9743a.zip meson-d06cc042eb21bc16a4a5cc957a3615e5e3a9743a.tar.gz meson-d06cc042eb21bc16a4a5cc957a3615e5e3a9743a.tar.bz2 |
f-strings
Diffstat (limited to 'mesonbuild/interpreter/compiler.py')
-rw-r--r-- | mesonbuild/interpreter/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/compiler.py b/mesonbuild/interpreter/compiler.py index e595daf..01a6989 100644 --- a/mesonbuild/interpreter/compiler.py +++ b/mesonbuild/interpreter/compiler.py @@ -719,7 +719,7 @@ class CompilerHolder(ObjectHolder['Compiler']): result, cached = self.compiler.has_func_attribute(attr, self.environment) cached_msg = mlog.blue('(cached)') if cached else '' h = mlog.green('YES') if result else mlog.red('NO') - mlog.log('Compiler for {} supports function attribute {}:'.format(self.compiler.get_display_language(), attr), h, cached_msg) + mlog.log(f'Compiler for {self.compiler.get_display_language()} supports function attribute {attr}:', h, cached_msg) return result @FeatureNew('compiler.has_function_attribute', '0.48.0') |