From 772bfda471e43e68f3537adaeec8a49b95f3a76e Mon Sep 17 00:00:00 2001 From: Alessandro Fulgini Date: Mon, 4 Dec 2023 19:20:15 +0100 Subject: [PATCH] Don't delete temporary variables at the end of block Co-authored-by: Sergey <6213510+sshnaidm@users.noreply.github.com> --- plugins/module_utils/podman/common.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/module_utils/podman/common.py b/plugins/module_utils/podman/common.py index 8ea214ea..2eefcb2d 100644 --- a/plugins/module_utils/podman/common.py +++ b/plugins/module_utils/podman/common.py @@ -57,7 +57,6 @@ def run_generate_systemd_command(module, module_params, name, version): arg_name = 'stop-timeout' if gt4ver else 'time' arg_value = sysconf.get('stop_timeout') if sysconf.get('stop_timeout') is not None else sysconf.get('time') command.extend(['--%s=%s' % (arg_name, arg_value)]) - del arg_name, arg_value if sysconf.get('start_timeout') is not None: command.extend(['--start-timeout=%s' % sysconf['start_timeout']]) if sysconf.get('no_header'):