diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2015-10-21 12:01:56 -0500 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2015-12-02 01:55:14 +0000 |
| commit | bf090c69c2e055285fc4fe45af0a5f66d6dc7759 (patch) | |
| tree | 16447f8742a5b091e35c0812e0e396a28b180d33 /examples | |
| parent | a9a7caf934f36c95727c30bdf2b1275609d3c0fc (diff) | |
| download | python-openstackclient-bf090c69c2e055285fc4fe45af0a5f66d6dc7759.tar.gz | |
Switch to ksa Session
* Change session imports to keystoneauth1
* Change keystoneclient.exception imports to keystoneauth1
* Change exceptions raised from internal API from keystoneclient to openstack.common
Change-Id: I046d89f561d6fe04baae53726f9749d2e7fe2056
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/common.py b/examples/common.py index 840e715e..6d48a8cb 100755 --- a/examples/common.py +++ b/examples/common.py @@ -37,7 +37,7 @@ import os import sys import traceback -from keystoneclient import session as ksc_session +from keystoneauth1 import session as ks_session from openstackclient.api import auth @@ -226,7 +226,7 @@ def make_session(opts, **kwargs): ) auth_p = auth_plugin.load_from_options(**auth_params) - session = ksc_session.Session( + session = ks_session.Session( auth=auth_p, **kwargs ) |
