mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-16 13:35:39 +01:00
Fix type after argument removal.
This commit is contained in:
parent
cbe7ad4ac3
commit
cdfe06e75d
@ -1812,7 +1812,7 @@ class Utils(object):
|
||||
|
||||
@classmethod
|
||||
def is_ascii(cls, v):
|
||||
# type: (Union[text_type, str], str) -> bool
|
||||
# type: (Union[text_type, str]) -> bool
|
||||
try:
|
||||
if isinstance(v, (text_type, str)):
|
||||
v.encode('ascii')
|
||||
|
Loading…
Reference in New Issue
Block a user