diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-06 12:17:59 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-07 16:51:47 -0400 |
commit | 998076a192b7d0f1d1411641b7f15a7dc276c4f2 (patch) | |
tree | cb0eb331f372271d35b4baace6de09840d545edb /mesonbuild/cmake | |
parent | 3eb1da1fa2ea0b3420897afb2edd2e9c7b16eeb2 (diff) | |
download | meson-998076a192b7d0f1d1411641b7f15a7dc276c4f2.zip meson-998076a192b7d0f1d1411641b7f15a7dc276c4f2.tar.gz meson-998076a192b7d0f1d1411641b7f15a7dc276c4f2.tar.bz2 |
upgrade percent formatted strings pyupgrade did not catch
Diffstat (limited to 'mesonbuild/cmake')
-rw-r--r-- | mesonbuild/cmake/executor.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/cmake/executor.py b/mesonbuild/cmake/executor.py index 32c660a..7b06f26 100644 --- a/mesonbuild/cmake/executor.py +++ b/mesonbuild/cmake/executor.py @@ -70,14 +70,14 @@ class CMakeExecutor: # Only search for CMake the first time and store the result in the class # definition if isinstance(CMakeExecutor.class_cmakebin[self.for_machine], NonExistingExternalProgram): - mlog.debug('CMake binary for %s is cached as not found' % self.for_machine) + mlog.debug(f'CMake binary for {self.for_machine} is cached as not found') return None, None elif CMakeExecutor.class_cmakebin[self.for_machine] is not None: - mlog.debug('CMake binary for %s is cached.' % self.for_machine) + mlog.debug(f'CMake binary for {self.for_machine} is cached.') else: assert CMakeExecutor.class_cmakebin[self.for_machine] is None - mlog.debug('CMake binary for %s is not cached' % self.for_machine) + mlog.debug(f'CMake binary for {self.for_machine} is not cached') for potential_cmakebin in find_external_program( environment, self.for_machine, 'cmake', 'CMake', environment.default_cmake, allow_default_for_cross=False): |