Skip to content

Commit

Permalink
Closes-Bug: #1494892. Fixed issue with strtobool arg processing
Browse files Browse the repository at this point in the history
Change-Id: I4b10f85f525d0f9c31a4887add9ccdd51a7f00e5
  • Loading branch information
sanju-a committed Sep 22, 2015
1 parent 969280e commit 050bb03
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/api-lib/vnc_api.py
Expand Up @@ -136,8 +136,11 @@ def __init__(self, username=None, password=None, tenant_name=None,

self._api_connect_protocol = VncApi._DEFAULT_API_SERVER_CONNECT
# API server SSL Support
if api_server_use_ssl:
self._api_connect_protocol = VncApi._DEFAULT_API_SERVER_SSL_CONNECT
use_ssl = api_server_use_ssl
if isinstance(api_server_use_ssl, basestring):
use_ssl = (api_server_use_ssl.lower() == 'true')
if use_ssl:
self._api_connect_protocol = VncApi._DEFAULT_API_SERVER_SSL_CONNECT

# keystone
self._authn_type = auth_type or \
Expand Down

0 comments on commit 050bb03

Please sign in to comment.