You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
404 B
12 lines
404 B
import sys
|
|
from splunk.clilib.bundle_paths import make_splunkhome_path
|
|
|
|
if sys.version_info[0] == 2:
|
|
sys.path.append(make_splunkhome_path(['etc', 'apps', 'Splunk_TA_vmware', 'bin', 'python2']))
|
|
import python2.suds as suds
|
|
else:
|
|
sys.path.append(make_splunkhome_path(['etc', 'apps', 'Splunk_TA_vmware', 'bin', 'python3']))
|
|
import python3.suds as suds
|
|
|
|
sys.modules[__name__] = suds.__name__
|