Package list python-castellan / fafceee
Rename barbican client import Importing the barbican client object as barbican_client and also using barbican_client as a variable name was confusing. Changes the import name to prevent confusion. Change-Id: I886f045eb56683713ab75401b5ec1669ddbb072d Kaitlin Farr 4 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4040 from castellan.key_manager import key_manager
4141
4242
43 from barbicanclient import client as barbican_client
43 from barbicanclient import client as barbican_client_import
4444 from barbicanclient import exceptions as barbican_exceptions
4545 from oslo_utils import timeutils
4646 from six.moves import urllib
119119 verify=self.conf.barbican.verify_ssl)
120120
121121 self._barbican_endpoint = self._get_barbican_endpoint(auth, sess)
122 self._barbican_client = barbican_client.Client(
122 self._barbican_client = barbican_client_import.Client(
123123 session=sess,
124124 endpoint=self._barbican_endpoint)
125125 self._current_context = context