From db7590048ebccefee15ae01043e939f45d6856c0 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 4 Sep 2024 08:54:26 -0700 Subject: [PATCH] refactor: Remove unused import of sys module in run_cmd function --- aider/run_cmd.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/aider/run_cmd.py b/aider/run_cmd.py index b824c4edc..3c64fd548 100644 --- a/aider/run_cmd.py +++ b/aider/run_cmd.py @@ -8,8 +8,6 @@ import pexpect def run_cmd(command, verbose=False): - import sys - if sys.stdin.isatty() and hasattr(pexpect, "spawn") and platform.system() != "Windows": return run_cmd_pexpect(command, verbose)