Create shlex.join if it doesnt exist
This commit is contained in:
parent
fcc75689d8
commit
8de787a2f3
1 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,10 @@
|
|||
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…
Reference in a new issue