mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 07:55:10 +02:00
Remove pre python 3.8 compat shim as we now require 3.8
This commit is contained in:
@@ -18,9 +18,6 @@ from .types import run_once
|
|||||||
from .typing import MatchType
|
from .typing import MatchType
|
||||||
from .utils import expandvars, get_editor, log_error, resolved_shell
|
from .utils import expandvars, get_editor, log_error, resolved_shell
|
||||||
|
|
||||||
if not hasattr(shlex, 'join'):
|
|
||||||
shlex.join = lambda a: ' '.join(map(shlex.quote, a))
|
|
||||||
|
|
||||||
|
|
||||||
class MatchCriteria(NamedTuple):
|
class MatchCriteria(NamedTuple):
|
||||||
type: MatchType
|
type: MatchType
|
||||||
|
|||||||
Reference in New Issue
Block a user