Merge branch 'fix-ssl-behind-proxy' of github.com:osu-sig/pyvmomi into fix-ssl-behind-proxy
This commit is contained in:
@@ -427,6 +427,8 @@ def __GetServiceVersionDescription(protocol, server, port, path):
|
||||
|
||||
tree = ElementTree()
|
||||
|
||||
import urllib2
|
||||
|
||||
url = "%s://%s:%s/%s/vimServiceVersions.xml" % (protocol, server, port, path)
|
||||
try:
|
||||
with closing(urllib2.urlopen(url)) as sock:
|
||||
|
Reference in New Issue
Block a user