We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfcd99f commit e347af0Copy full SHA for e347af0
1 file changed
render_machine/render_utils.py
@@ -71,7 +71,7 @@ def _kill_process(proc: subprocess.Popen) -> None:
71
proc.kill()
72
73
74
-def sanitize_script_output(script_output: str) -> str:
+def _sanitize_script_output(script_output: str) -> str:
75
# this function removes the escape codes that clear the console
76
clear_console_escape_codes_pattern = r"(?:\033\[[^a-zA-Z]*[a-zA-Z])*\033\[2J(?:\033\[[^a-zA-Z]*[a-zA-Z])*"
77
@@ -137,7 +137,7 @@ def execute_script( # noqa: C901
137
stdout = ""
138
elapsed_time = time.time() - start_time
139
140
- sanitized_script_output = sanitize_script_output(stdout)
+ sanitized_script_output = _sanitize_script_output(stdout)
141
142
# Log the info about the script execution
143
if verbose:
0 commit comments