From 6a0fabc6472f49621260de215f128a31ae70219b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 4 Mar 2021 17:16:11 -0500 Subject: mass rewrite of string formatting to use f-strings everywhere performed by running "pyupgrade --py36-plus" and committing the results --- mesonbuild/mconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/mconf.py') diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 13530ec..c458115 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -73,7 +73,7 @@ class Conf: self.coredata = intr.coredata self.default_values_only = True else: - raise ConfException('Directory {} is neither a Meson build directory nor a project source directory.'.format(build_dir)) + raise ConfException(f'Directory {build_dir} is neither a Meson build directory nor a project source directory.') def clear_cache(self): self.coredata.deps.host.clear() -- cgit v1.1