This commit is contained in:
Paul Gauthier 2023-05-28 22:29:21 -07:00
parent c85c99f9d0
commit f6197fac40

View file

@ -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)