mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix UnboundLocalError
introduced in https://github.com/saltstack/salt/pull/59244
This commit is contained in:
parent
6c6ea48d06
commit
cbdac692b6
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ class ShellCase(TestCase, AdaptedConfigurationTestCaseMixin, ScriptPathMixin):
|
|||
if salt.utils.platform.is_windows():
|
||||
cmd = "python "
|
||||
else:
|
||||
cmd += "python{}.{} ".format(*sys.version_info)
|
||||
cmd = "python{}.{} ".format(*sys.version_info)
|
||||
|
||||
cmd += "{} --config-dir={} {} ".format(
|
||||
script_path, config_dir or RUNTIME_VARS.TMP_CONF_DIR, arg_str
|
||||
|
|
Loading…
Add table
Reference in a new issue