Skip to content

Commit 88b06ae

Browse files
Comment out unused code
1 parent a0654a7 commit 88b06ae

File tree

1 file changed

+2
-0
lines changed
  • internal_filesystem/lib/mpos

1 file changed

+2
-0
lines changed

internal_filesystem/lib/mpos/apps.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def execute_script(script_source, is_file, cwd=None, classname=None):
7979
tb = getattr(e, '__traceback__', None)
8080
traceback.print_exception(type(e), e, tb)
8181

82+
""" Unused:
8283
# Run the script in a new thread:
8384
# TODO: check if the script exists here instead of launching a new thread?
8485
def execute_script_new_thread(scriptname, is_file):
@@ -104,6 +105,7 @@ def execute_script_new_thread(scriptname, is_file):
104105
_thread.start_new_thread(execute_script, (scriptname, is_file))
105106
except Exception as e:
106107
print("main.py: execute_script_new_thread(): error starting new thread thread: ", e)
108+
"""
107109

108110
def start_app(fullname):
109111
mpos.ui.set_foreground_app(fullname)

0 commit comments

Comments
 (0)