mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 18:41:40 +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')
|
raise cls._type_err(v, 'native text')
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def is_ascii(cls, v, enc='utf-8'):
|
def is_ascii(cls, v):
|
||||||
# type: (Union[text_type, str], str) -> bool
|
# type: (Union[text_type, str], str) -> bool
|
||||||
try:
|
try:
|
||||||
if isinstance(v, (text_type, str)):
|
if isinstance(v, (text_type, str)):
|
||||||
|
Loading…
Reference in New Issue
Block a user