Python: fix bug detection, trying to access self (#33955)
Typo introduced in #33847
This commit is contained in:
		 Massimiliano Culpo
					Massimiliano Culpo
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							a90e86de75
						
					
				
				
					commit
					61f5d85525
				
			| @@ -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" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user