os-k/build/idttool.py

15 lines
227 B
Python
Raw Normal View History

2019-01-02 16:27:12 +01:00
# don't mind this file
f1 = open("Makefile.out", "r+")
f2 = open("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()