From fec7265b5c038d126edb91a0220dd7af9749e805 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 1 Feb 2022 01:56:04 -0500 Subject: flake8: use plain strings instead of f-strings when no variables used --- mesonbuild/mesonlib/vsenv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/mesonlib/vsenv.py') diff --git a/mesonbuild/mesonlib/vsenv.py b/mesonbuild/mesonlib/vsenv.py index b359025..0d37765 100644 --- a/mesonbuild/mesonlib/vsenv.py +++ b/mesonbuild/mesonlib/vsenv.py @@ -65,7 +65,7 @@ def _setup_vsenv(force: bool) -> bool: bat_info = json.loads(bat_json) if not bat_info: # VS installer instelled but not VS itself maybe? - raise MesonException(f'Could not parse vswhere.exe output') + raise MesonException('Could not parse vswhere.exe output') bat_root = pathlib.Path(bat_info[0]['installationPath']) if platform.machine() == 'ARM64': bat_path = bat_root / 'VC/Auxiliary/Build/vcvarsx86_arm64.bat' -- cgit v1.1