From a95273805450630ffd45de1dfd0bfca1b349050f Mon Sep 17 00:00:00 2001 From: Downtown Allday Date: Fri, 9 Aug 2024 12:53:33 -0400 Subject: [PATCH] fix: NameError: name 'subprocess' is not defined --- 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: