mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
fix: Remove unused run_interactive_subprocess method from EditBlockCoder
This commit is contained in:
parent
15639d8801
commit
089863cf32
3 changed files with 2 additions and 21 deletions
|
@ -16,7 +16,7 @@ IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".webp"}
|
|||
|
||||
def run_interactive_command(command):
|
||||
try:
|
||||
import pexpect
|
||||
import pexpect # noqa: F401
|
||||
except ImportError:
|
||||
return run_interactive_command_subprocess(command)
|
||||
|
||||
|
@ -391,9 +391,7 @@ if __name__ == "__main__":
|
|||
if len(sys.argv) > 1:
|
||||
command = " ".join(sys.argv[1:])
|
||||
exit_status, output = run_interactive_command(command)
|
||||
print("Exit status:")
|
||||
dump(exit_status)
|
||||
print("\nFull output:")
|
||||
dump(output)
|
||||
else:
|
||||
print("Usage: python -m aider.utils <command>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue