os-k/build/idttool.py

15 lines
239 B
Python

# don't mind this file
f1 = open("build/Makefile.out", "r+")
f2 = open("build/Makefile.out.2", "w+")
fl = f1.readlines()
for ln in fl:
if ln[0] == ' ' and ln[1] != ' ':
f2.write('\t')
f2.write(ln)
f1.close()
f2.close()