Revision f5ff79d9 kamaki/cli/commands/astakos.py
b/kamaki/cli/commands/astakos.py | ||
---|---|---|
60 | 60 |
if getattr(self, 'cloud', False): |
61 | 61 |
base_url = self._custom_url('astakos') |
62 | 62 |
if base_url: |
63 |
token = self._custom_token('astakos')\
|
|
64 |
or self.config.get_cloud(self.cloud, 'token') |
|
63 |
token = self._custom_token( |
|
64 |
'astakos') or self.config.get_cloud(self.cloud, 'token')
|
|
65 | 65 |
token = token.split()[0] if ' ' in token else token |
66 | 66 |
self.client = AstakosClient(base_url=base_url, token=token) |
67 | 67 |
return |
Also available in: Unified diff