Revision f5ff79d9 kamaki/cli/__init__.py
b/kamaki/cli/__init__.py | ||
---|---|---|
307 | 307 |
else: |
308 | 308 |
auth_base = AuthCachedClient( |
309 | 309 |
auth_args['url'], auth_args['token']) |
310 |
from kamaki.cli.commands import _command_init |
|
311 |
fake_cmd = _command_init(arguments) |
|
312 |
fake_cmd.client = auth_base |
|
313 |
fake_cmd._set_log_params() |
|
314 |
fake_cmd._update_max_threads() |
|
310 | 315 |
auth_base.authenticate(token) |
311 | 316 |
except ClientError as ce: |
312 | 317 |
if ce.status in (401, ): |
Also available in: Unified diff