Create shlex.join if it doesnt exist
This commit is contained in:
parent
fcc75689d8
commit
8de787a2f3
@ -21,6 +21,10 @@ from .utils import expandvars, get_editor, log_error, resolved_shell
|
||||
from .fast_data_types import get_options
|
||||
|
||||
|
||||
if not hasattr(shlex, 'join'):
|
||||
shlex.join = lambda a: ' '.join(map(shlex.quote, a))
|
||||
|
||||
|
||||
class MatchCriteria(NamedTuple):
|
||||
type: MatchType
|
||||
value: str
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user