mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #42881 from gtmanfred/vmware
fix vmware for python 3.4.2 in salt.utils.vmware
This commit is contained in:
commit
da71f2a11b
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ def _get_service_instance(host, username, password, protocol,
|
|||
pwd=password,
|
||||
protocol=protocol,
|
||||
port=port,
|
||||
sslContext=ssl._create_unverified_context(),
|
||||
sslContext=getattr(ssl, '_create_unverified_context', getattr(ssl, '_create_stdlib_context'))(),
|
||||
b64token=token,
|
||||
mechanism=mechanism)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue