IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ca9b4e3c authored by ralfulrich's avatar ralfulrich
Browse files

improvements

parent b6bf79a1
No related branches found
No related tags found
No related merge requests found
......@@ -73,14 +73,17 @@ def checkNote(filename):
file.write(text)
skip = False
for iLine in range(len(lines)):
skip = False
for iBlock in range(len(startNote)):
if iLine>=startNote[iBlock] and iLine<=endNote[iBlock]:
print " [remove " + str(iBlock) + "] " + (lines[iLine]).strip()
skip = True
if lines[iLine].strip() != "": # if line after comment is empty, also remove it
skip = False
if not skip:
file.write(lines[iLine])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment