mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-10-30 21:15:27 +01:00 
			
		
		
		
	Fix type after argument removal.
This commit is contained in:
		| @@ -1812,7 +1812,7 @@ class Utils(object): | |||||||
| 	 | 	 | ||||||
| 	@classmethod | 	@classmethod | ||||||
| 	def is_ascii(cls, v): | 	def is_ascii(cls, v): | ||||||
| 		# type: (Union[text_type, str], str) -> bool | 		# type: (Union[text_type, str]) -> bool | ||||||
| 		try: | 		try: | ||||||
| 			if isinstance(v, (text_type, str)): | 			if isinstance(v, (text_type, str)): | ||||||
| 				v.encode('ascii') | 				v.encode('ascii') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Andris Raugulis
					Andris Raugulis