make it simpler

This commit is contained in:
2025-03-03 14:53:30 +01:00
parent ce9e8dce54
commit ce57937ebe
16 changed files with 1 additions and 54 deletions

15
lld_filelist.py Executable file
View File

@@ -0,0 +1,15 @@
#! {{ discovered_interpreter_python }}
import glob
import json
from sys import argv,stderr
import sys
if __name__ == "__main__":
data=[]
try:
file = open( sys.argv[1] )
except:
sys.exit(1)
data = [{"{#FILE}": line.strip()} for line in file.readlines()]
print(json.dumps({"data": data}, indent=4))