From ee1e65e619f0f09ddf7ddd24d70ae883a16ccbf2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 12 Oct 2023 20:40:33 +0530 Subject: [PATCH] Remove pre python 3.8 compat shim as we now require 3.8 --- kitty/open_actions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/kitty/open_actions.py b/kitty/open_actions.py index 905cbfb51..36c825230 100644 --- a/kitty/open_actions.py +++ b/kitty/open_actions.py @@ -18,9 +18,6 @@ from .types import run_once from .typing import MatchType 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): type: MatchType