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 @@ def has_running_program(self) -> bool:
|
|||
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…
Reference in a new issue