diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-11-17 08:38:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 08:38:49 +0100 |
commit | 61f5d85525962b551e0a07bdbb79597bdb9db1e6 (patch) | |
tree | bce548701078c0f90dd58a4c017bcf6817676ed9 | |
parent | a90e86de754b7c214dcee3827776b0b34390a240 (diff) | |
download | spack-61f5d85525962b551e0a07bdbb79597bdb9db1e6.tar.gz spack-61f5d85525962b551e0a07bdbb79597bdb9db1e6.tar.bz2 spack-61f5d85525962b551e0a07bdbb79597bdb9db1e6.tar.xz spack-61f5d85525962b551e0a07bdbb79597bdb9db1e6.zip |
Python: fix bug detection, trying to access self (#33955)
Typo introduced in #33847
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 55bbde3182..ec7a9e40aa 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -565,7 +565,7 @@ class Python(Package): variants += "~tix" # Some modules are platform-dependent - if not self.spec.satisfies("platform=windows"): + if not is_windows: try: python("-c", "import crypt", error=os.devnull) variants += "+crypt" |