diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-07-04 17:51:42 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-07-05 17:55:04 +0300 |
commit | dd31891c1fd6d3b9c955e73bd80170242b6423e5 (patch) | |
tree | b6bfd47a74e3ac4f71904afe2ba1996453ce221b /mesonbuild/mcompile.py | |
parent | 566efba216b865bff670901aed98d34f09f8d930 (diff) | |
download | meson-dd31891c1fd6d3b9c955e73bd80170242b6423e5.zip meson-dd31891c1fd6d3b9c955e73bd80170242b6423e5.tar.gz meson-dd31891c1fd6d3b9c955e73bd80170242b6423e5.tar.bz2 |
more f-strings too complex to be caught by pyupgrade
Diffstat (limited to 'mesonbuild/mcompile.py')
-rw-r--r-- | mesonbuild/mcompile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py index 6e526f6..bb7ecae 100644 --- a/mesonbuild/mcompile.py +++ b/mesonbuild/mcompile.py @@ -38,10 +38,10 @@ def array_arg(value: str) -> T.List[str]: def validate_builddir(builddir: Path) -> None: if not (builddir / 'meson-private' / 'coredata.dat' ).is_file(): - raise MesonException('Current directory is not a meson build directory: `{}`.\n' + raise MesonException(f'Current directory is not a meson build directory: `{builddir}`.\n' 'Please specify a valid build dir or change the working directory to it.\n' 'It is also possible that the build directory was generated with an old\n' - 'meson version. Please regenerate it in this case.'.format(builddir)) + 'meson version. Please regenerate it in this case.') def get_backend_from_coredata(builddir: Path) -> str: """ |