diff options
author | Chris Green <greenc@fnal.gov> | 2022-08-04 15:48:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 20:48:05 +0000 |
commit | 20de47a1e23d3eecece7a1f4bbfcbb61f2598546 (patch) | |
tree | bbc7e721fd8d17ba290d779607493ba3865b7c29 /lib | |
parent | d67ead597879aa127158c3b6a1e4ea61a2770d93 (diff) | |
download | spack-20de47a1e23d3eecece7a1f4bbfcbb61f2598546.tar.gz spack-20de47a1e23d3eecece7a1f4bbfcbb61f2598546.tar.bz2 spack-20de47a1e23d3eecece7a1f4bbfcbb61f2598546.tar.xz spack-20de47a1e23d3eecece7a1f4bbfcbb61f2598546.zip |
Move type hint to satisfy Python 3.6, 3.7 interpreters (#31932)
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/spack/spack/operating_systems/windows_os.py | 4 |
1 files 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", |