diff options
author | Kevin_Zheng <zhengzhenyu@huawei.com> | 2016-03-01 16:35:01 +0800 |
---|---|---|
committer | Zhenyu Zheng <zhengzhenyu@huawei.com> | 2016-03-03 01:23:34 +0000 |
commit | 93913c84b67d3aefe79bef106fbe9a83f0bcdb71 (patch) | |
tree | 4f141aa49e39341b8d79824be5ded011766b667f /novaclient/shell.py | |
parent | f9360ae6d44a656171602823d91f83d80fa67dce (diff) | |
download | python-novaclient-93913c84b67d3aefe79bef106fbe9a83f0bcdb71.tar.gz |
Use novaclient/utils directly and remove openstack/common (1/4)
We can use novaclient/utils directly and get rid
of openstack/common folder.
This is the first part.
Change-Id: Iaec234fbcf4d0f8c7e8f2175eae11d3083a62090
Partial-Bug: #1551603
Diffstat (limited to 'novaclient/shell.py')
-rw-r--r-- | novaclient/shell.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/novaclient/shell.py b/novaclient/shell.py index b4da9e2c..3d38ac99 100644 --- a/novaclient/shell.py +++ b/novaclient/shell.py @@ -46,7 +46,6 @@ from novaclient import client from novaclient import exceptions as exc import novaclient.extension from novaclient.i18n import _ -from novaclient.openstack.common import cliutils from novaclient import utils DEFAULT_MAJOR_OS_COMPUTE_API_VERSION = "2.0" @@ -1042,7 +1041,7 @@ class OpenStackComputeShell(object): commands.remove('bash_completion') print(' '.join(commands | options)) - @cliutils.arg( + @utils.arg( 'command', metavar='<subcommand>', nargs='?', |