diff options
author | James Smillie <83249606+jamessmillie@users.noreply.github.com> | 2023-12-03 16:35:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-03 15:35:13 -0800 |
commit | 9e0720207afb5b0fed4035dc1dbf214a1eddfca1 (patch) | |
tree | eb8c0624ad8c9c6aabefc5a4cfbb543431df5c2b /var | |
parent | 88e738c34346031ce875fdd510dd2251aa63dad7 (diff) | |
download | spack-9e0720207afb5b0fed4035dc1dbf214a1eddfca1.tar.gz spack-9e0720207afb5b0fed4035dc1dbf214a1eddfca1.tar.bz2 spack-9e0720207afb5b0fed4035dc1dbf214a1eddfca1.tar.xz spack-9e0720207afb5b0fed4035dc1dbf214a1eddfca1.zip |
Windows: fix kit base path and reference to windows registry key (#41388)
* Proper handling of argument passed as semicolon-separated str
* Fix reference to windows registry key in win-wdk
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/win-wdk/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/win-wdk/package.py b/var/spack/repos/builtin/packages/win-wdk/package.py index 07f2a59018..759c5f53c0 100644 --- a/var/spack/repos/builtin/packages/win-wdk/package.py +++ b/var/spack/repos/builtin/packages/win-wdk/package.py @@ -133,7 +133,7 @@ class WinWdk(Package): except ProcessError as pe: reg = winreg.WindowsRegistryView( "SOFTWARE\\Microsoft\\Windows Kits\\Installed Roots", - root_key=spack.util.windows_registry.HKEY_LOCAL_MACHINE, + root_key=spack.util.windows_registry.HKEY.HKEY_LOCAL_MACHINE, ) if not reg: # No Kits are available, failure was genuine |