From b9ef66292602349c7a48d8779355bdc87cfc06fa Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 8 Jul 2022 11:43:57 -0700 Subject: reformat some warnings for better code readability --- mesonbuild/compilers/cpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/compilers/cpp.py') diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 496d6c107..7296626a9 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -58,7 +58,7 @@ def non_msvc_eh_options(eh: str, args: T.List[str]) -> None: if eh == 'none': args.append('-fno-exceptions') elif eh in {'s', 'c'}: - mlog.warning('non-MSVC compilers do not support ' + eh + ' exception handling.' + + mlog.warning(f'non-MSVC compilers do not support {eh} exception handling. ' 'You may want to set eh to \'default\'.') class CPPCompiler(CLikeCompiler, Compiler): -- cgit v1.2.3