Python: fix bug detection, trying to access self (#33955)
Typo introduced in #33847
This commit is contained in:
parent
a90e86de75
commit
61f5d85525
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ def determine_variants(cls, exes, version_str):
|
|||
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"
|
||||
|
|
Loading…
Reference in a new issue