From 20de47a1e23d3eecece7a1f4bbfcbb61f2598546 Mon Sep 17 00:00:00 2001 From: Chris Green Date: Thu, 4 Aug 2022 15:48:05 -0500 Subject: Move type hint to satisfy Python 3.6, 3.7 interpreters (#31932) --- lib/spack/spack/operating_systems/windows_os.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/spack/spack/operating_systems/windows_os.py b/lib/spack/spack/operating_systems/windows_os.py index 47929ba61d..02d45fd8d2 100755 --- a/lib/spack/spack/operating_systems/windows_os.py +++ b/lib/spack/spack/operating_systems/windows_os.py @@ -37,8 +37,8 @@ class WindowsOs(OperatingSystem): extra_args = {} if sys.version_info[:3] >= (3, 6, 0): extra_args = {"encoding": "mbcs", "errors": "strict"} - paths = subprocess.check_output( - [ # type: ignore[call-overload] # novermin + paths = subprocess.check_output( # type: ignore[call-overload] # novermin + [ os.path.join(root, "Microsoft Visual Studio", "Installer", "vswhere.exe"), "-prerelease", "-requires", -- cgit v1.2.3-70-g09d2