]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Clean up import of cinderclient exceptions
authorZane Bitter <zbitter@redhat.com>
Wed, 15 May 2013 20:26:09 +0000 (22:26 +0200)
committerZane Bitter <zbitter@redhat.com>
Thu, 16 May 2013 14:09:00 +0000 (16:09 +0200)
commit2bfd9c033cd21f24108e1f3e5b4834c23a516d34
tree71c752c6b7af1239315835b4dcb0715b7fe86c6e
parent8efd18ee64141a3d65c4b855db146e417e49bd3a
Clean up import of cinderclient exceptions

Don't import a particular version of the cinderclient API - just import the
client module and pass the version we want to the Client() constructor as
is intended. This allows up to access the exceptions directly through
client.exceptions, rather than having to do a separate import.

Change-Id: Ic0e47506a51a572da01fdfdef0367cfdb3e34d54
heat/engine/clients.py
heat/engine/resources/volume.py
heat/tests/test_volume.py