mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	ari-stubs: Avoid 'is' as comparism with an literal.
Python 3.9.7 gave a syntax warning. Change-Id: I3e3a982fe720726bc0015bcdb0e638a626ec89d4
This commit is contained in:
		
				
					committed by
					
						 Friendly Automation
						Friendly Automation
					
				
			
			
				
	
			
			
			
						parent
						
							5d8e0a6542
						
					
				
				
					commit
					9ae084ff44
				
			| @@ -60,7 +60,7 @@ def snakify(name): | ||||
|     for c in name: | ||||
|         if c.isupper() and prior_lower: | ||||
|             r += "_" | ||||
|         if c is '-': | ||||
|         if c == '-': | ||||
|             c = '_' | ||||
|         prior_lower = c.islower() | ||||
|         r += c.lower() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user