mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Fixed disabling a feature
This commit is contained in:
		
							parent
							
								
									96fb0e63ea
								
							
						
					
					
						commit
						7c194b54ef
					
				
							
								
								
									
										2
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
									
									
									
									
								
							|  | @ -389,7 +389,7 @@ class pil_build_ext(build_ext): | ||||||
|                     pass |                     pass | ||||||
|         for x in self.feature: |         for x in self.feature: | ||||||
|             if getattr(self, f"disable_{x}"): |             if getattr(self, f"disable_{x}"): | ||||||
|                 setattr(self.feature, x, False) |                 self.feature.set(x, False) | ||||||
|                 self.feature.required.discard(x) |                 self.feature.required.discard(x) | ||||||
|                 _dbg("Disabling %s", x) |                 _dbg("Disabling %s", x) | ||||||
|                 if getattr(self, f"enable_{x}"): |                 if getattr(self, f"enable_{x}"): | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user