mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
Make mypy happy
This commit is contained in:
parent
c03d99e744
commit
79db8b43e0
1 changed files with 0 additions and 3 deletions
|
|
@ -732,9 +732,6 @@ class Window:
|
|||
return not self.at_prompt
|
||||
|
||||
def matches(self, field: str, pat: MatchPatternType) -> bool:
|
||||
if not pat:
|
||||
return False
|
||||
|
||||
if isinstance(pat, tuple):
|
||||
if field == 'env':
|
||||
return key_val_matcher(self.child.environ.items(), *pat)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue