IAP GITLAB

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

improvements

parent ca9b4e3c
No related branches found
No related tags found
No related merge requests found
...@@ -76,11 +76,16 @@ def checkNote(filename): ...@@ -76,11 +76,16 @@ def checkNote(filename):
skip = False skip = False
for iLine in range(len(lines)): for iLine in range(len(lines)):
inBlock = False
for iBlock in range(len(startNote)): for iBlock in range(len(startNote)):
if iLine>=startNote[iBlock] and iLine<=endNote[iBlock]: if iLine>=startNote[iBlock] and iLine<=endNote[iBlock]:
print " [remove " + str(iBlock) + "] " + (lines[iLine]).strip() print " [remove " + str(iBlock) + "] " + (lines[iLine]).strip()
inBlock = True
skip = True skip = True
if inBlock:
continue
if lines[iLine].strip() != "": # if line after comment is empty, also remove it if lines[iLine].strip() != "": # if line after comment is empty, also remove it
skip = False skip = False
......
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