diff options
Diffstat (limited to 'heatclient/client.py')
-rw-r--r-- | heatclient/client.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/heatclient/client.py b/heatclient/client.py index 8237b8e..77444f4 100644 --- a/heatclient/client.py +++ b/heatclient/client.py @@ -10,10 +10,11 @@ # License for the specific language governing permissions and limitations # under the License. -from heatclient.common import utils +from oslo_utils import importutils def Client(version, *args, **kwargs): - module = utils.import_versioned_module(version, 'client') + module = importutils.import_versioned_module('heatclient', + version, 'client') client_class = getattr(module, 'Client') return client_class(*args, **kwargs) |