Merge "Remove old import path in barbican"

This commit is contained in:
Zuul 2018-02-08 07:41:46 +00:00 committed by Gerrit Code Review
commit 6ddc050e2f
1 changed files with 3 additions and 5 deletions

View File

@ -10,17 +10,15 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from barbicanclient import client as barbican_client
from barbicanclient import exceptions
from barbicanclient.v1 import client as barbican_client
from barbicanclient.v1 import containers
from heat.common import exception
from heat.engine.clients import client_plugin
from heat.engine import constraints
try:
from barbicanclient.v1 import containers
except ImportError:
from barbicanclient import containers
CLIENT_NAME = 'barbican'