Python: fix bug detection, trying to access self (#33955)

Typo introduced in #33847
This commit is contained in:
Massimiliano Culpo 2022-11-17 08:38:49 +01:00 committed by GitHub
parent a90e86de75
commit 61f5d85525
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -565,7 +565,7 @@ def determine_variants(cls, exes, version_str):
variants += "~tix" variants += "~tix"
# Some modules are platform-dependent # Some modules are platform-dependent
if not self.spec.satisfies("platform=windows"): if not is_windows:
try: try:
python("-c", "import crypt", error=os.devnull) python("-c", "import crypt", error=os.devnull)
variants += "+crypt" variants += "+crypt"