mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-16 13:35:39 +01:00
Remove unnecessary argument.
This commit is contained in:
parent
5be64a8ad2
commit
4120377c0b
@ -1807,7 +1807,7 @@ class Utils(object):
|
||||
raise cls._type_err(v, 'native text')
|
||||
|
||||
@classmethod
|
||||
def is_ascii(cls, v, enc='utf-8'):
|
||||
def is_ascii(cls, v):
|
||||
# type: (Union[text_type, str], str) -> bool
|
||||
try:
|
||||
if isinstance(v, (text_type, str)):
|
||||
|
Loading…
Reference in New Issue
Block a user