Skip to content

Commit

Permalink
Remove leftover print statement (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella authored Jun 28, 2024
1 parent 6256809 commit 74ce6dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/security/safe_command/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74ce6dc

Please sign in to comment.