diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-01-10 09:36:18 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-01-10 09:36:18 +0000 |
commit | d29567796b543ad7b25c85621785ee1288995076 (patch) | |
tree | 9d42af97fba5d03dbe3b7bb022b971e3ba8bf0b4 /heatclient/shell.py | |
parent | 2cd3db111151ac327d3434f1c2f1a055b6714e23 (diff) | |
parent | 8885ce78189ac2239ec0400f6fec734627bf1218 (diff) | |
download | python-heatclient-d29567796b543ad7b25c85621785ee1288995076.tar.gz |
Merge "Make method import_versioned_module work"
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r-- | heatclient/shell.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py index 5774aac..4a8c6de 100644 --- a/heatclient/shell.py +++ b/heatclient/shell.py @@ -348,7 +348,8 @@ class HeatShell(object): self.subcommands = {} subparsers = parser.add_subparsers(metavar='<subcommand>') - submodule = utils.import_versioned_module(version, 'shell') + submodule = importutils.import_versioned_module('heatclient', + version, 'shell') self._find_actions(subparsers, submodule) self._find_actions(subparsers, self) self._add_bash_completion_subparser(subparsers) |