From ca0ba8785741c30744ee5d741e83344f40ab7f07 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Tue, 3 Jul 2018 17:09:08 -0400 Subject: Clean up unused code. --- tools/fix_sections.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3