diff options
| author | Kyrylo Romanenko <kromanenko@mirantis.com> | 2016-09-28 13:53:14 +0300 |
|---|---|---|
| committer | Kyrylo Romanenko <kromanenko@mirantis.com> | 2016-10-10 13:15:36 +0000 |
| commit | 11eae85a318d3341f0c114f0de1aa5032baf95d2 (patch) | |
| tree | 3cc77eb3eefe62e591a290d3ecb9005dd32a523c /ironicclient/shell.py | |
| parent | 2a36c060bf9df21ec87f9d5f4b31b6682ee300cc (diff) | |
| download | python-ironicclient-11eae85a318d3341f0c114f0de1aa5032baf95d2.tar.gz | |
Fix import of ironicclient and reformat docstring
Fix import of ironicclient to ironicclient/shell.py.
Reformat docstring in ironicclient/v1/shell.py.
Change-Id: Iad717d139ef423bb9f93050c6ba0c20fe1912a82
Diffstat (limited to 'ironicclient/shell.py')
| -rw-r--r-- | ironicclient/shell.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ironicclient/shell.py b/ironicclient/shell.py index 6d9f044..972cb27 100644 --- a/ironicclient/shell.py +++ b/ironicclient/shell.py @@ -26,7 +26,6 @@ from oslo_utils import encodeutils import six import ironicclient -from ironicclient import client as iroclient from ironicclient.common import cliutils from ironicclient.common import http from ironicclient.common.i18n import _ @@ -381,7 +380,7 @@ class IronicShell(object): for key in client_args: kwargs[key] = getattr(args, key) kwargs['os_ironic_api_version'] = os_ironic_api_version - client = iroclient.get_client(api_major_version, **kwargs) + client = ironicclient.client.get_client(api_major_version, **kwargs) try: args.func(client, args) |
