summaryrefslogtreecommitdiff
path: root/tools/fix_sections.py
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:09:08 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:09:08 -0400
commitca0ba8785741c30744ee5d741e83344f40ab7f07 (patch)
tree05e9777ebea38ca7e0a89211b7d4c0de4c85b251 /tools/fix_sections.py
parente1659ecd41dfac70eb021c0f5fe983ed6f043433 (diff)
Clean up unused code.
Diffstat (limited to 'tools/fix_sections.py')
-rw-r--r--tools/fix_sections.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/fix_sections.py b/tools/fix_sections.py
index 266bb10..e00917c 100644
--- a/tools/fix_sections.py
+++ b/tools/fix_sections.py
@@ -67,22 +67,6 @@ for root, dirs, files in os.walk(cwd):
content_lines[i+3] = "; " + content_lines[i+3]
content_lines[i+4] = "; " + content_lines[i+4]
skip_next_line = True
-
- """
- if debug_code:
- debug_content_lines = content_lines[i+1:]
- debug_code_index = 0
- while True:
- #if debug_content_lines[debug_code_index].startswith("else"):
- # conditional_type = 0
- # break
- if debug_content_lines[debug_code_index].strip().startswith("endc"):
- break
- debug_code_index += 1
- print(line)
- for debug_content_line in debug_content_lines[:debug_code_index+1]:
- print(debug_content_line)
- """
else:
skip_next_line = False