From 5fe85f7233ccfce6f0bcd35770d9112751b28a03 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 2 Sep 2024 06:46:50 -0700 Subject: [PATCH] cleanup --- aider/utils.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/aider/utils.py b/aider/utils.py index 25761f389..828e708b0 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -11,7 +11,6 @@ from pathlib import Path import git from aider.dump import dump # noqa: F401 -from aider.run_cmd import run_cmd IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".webp"} @@ -351,14 +350,3 @@ def printable_shell_command(cmd_list): return subprocess.list2cmdline(cmd_list) else: return shlex.join(cmd_list) - - -if __name__ == "__main__": - if len(sys.argv) > 1: - command = " ".join(sys.argv[1:]) - exit_status, output = run_cmd(command) - dump(exit_status) - dump(output) - else: - print("Usage: python -m aider.utils ") - sys.exit(1)