From a8d13b84b4e2ac7332ae825177c4f9aa7a01e782 Mon Sep 17 00:00:00 2001 From: Downtown Allday Date: Wed, 27 Nov 2024 08:22:45 -0500 Subject: [PATCH] fix: NameError: name 'subprocess' is not defined (#2425) --- management/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/management/utils.py b/management/utils.py index 397f124d..1dbbeb7e 100644 --- a/management/utils.py +++ b/management/utils.py @@ -189,6 +189,7 @@ def get_ssh_port(): def get_ssh_config_value(parameter_name): # Returns ssh configuration value for the provided parameter + import subprocess try: output = shell('check_output', ['sshd', '-T']) except FileNotFoundError: