mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
cleanup
This commit is contained in:
parent
c85c99f9d0
commit
f6197fac40
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue