From f6197fac4059aadba8911aff3afeae818a35736a Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 28 May 2023 22:29:21 -0700 Subject: [PATCH] cleanup --- aider/repomap.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aider/repomap.py b/aider/repomap.py index d10292a7f..bd52f1eb9 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -141,7 +141,6 @@ class RepoMap: cmd = self.ctags_cmd + [filename] output = subprocess.check_output(cmd).decode("utf-8") output = output.splitlines() - print('output', output) tags = [] if not output: @@ -176,8 +175,7 @@ class RepoMap: with open(hello_py, "w") as f: f.write("def hello():\n print('Hello, world!')\n") self.get_tags(hello_py) - except Exception as err: - print(err) + except Exception: return False return True @@ -186,4 +184,3 @@ if __name__ == "__main__": rm = RepoMap() res = rm.get_tags_map(sys.argv[1:]) print(res) - print(res)