From 038b31e72bc02f0a9bdc6d8613992a5c344e8650 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 28 Oct 2021 23:01:31 -0400 Subject: various manual conversion of percent-formatted strings to f-strings --- mesonbuild/compilers/cpp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesonbuild/compilers/cpp.py') diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index e575b823a..50e91a3f5 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -815,7 +815,7 @@ class CcrxCPPCompiler(CcrxCompiler, CPPCompiler): return [] def get_output_args(self, target: str) -> T.List[str]: - return ['-output=obj=%s' % target] + return [f'-output=obj={target}'] def get_option_link_args(self, options: 'KeyedOptionDictType') -> T.List[str]: return [] @@ -848,7 +848,7 @@ class C2000CPPCompiler(C2000Compiler, CPPCompiler): return [] def get_output_args(self, target: str) -> T.List[str]: - return ['-output=obj=%s' % target] + return [f'-output=obj={target}'] def get_option_link_args(self, options: 'KeyedOptionDictType') -> T.List[str]: return [] -- cgit v1.2.3