From 0bbcd66b5559e35233d8feaa9c2dec230104f467 Mon Sep 17 00:00:00 2001 From: Daniel D'Avella Date: Fri, 28 Jun 2024 08:40:03 -0400 Subject: [PATCH] Remove leftover print statement --- src/security/safe_command/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/security/safe_command/api.py b/src/security/safe_command/api.py index 93249b7..5148873 100644 --- a/src/security/safe_command/api.py +++ b/src/security/safe_command/api.py @@ -637,7 +637,6 @@ def check(command: ValidCommand, restrictions: ValidRestrictions, **kwargs) -> N # Check if the executable is set by the Popen kwargs (either executable or shell) # Executable takes precedence over shell. see subprocess.py line 1593 executable_path = _resolve_executable_path(kwargs.get("executable"), venv) - print(executable_path) shell = ( executable_path.name in COMMON_SHELLS if executable_path