Revision 4018326d kamaki/cli/commands/pithos_cli.py
b/kamaki/cli/commands/pithos_cli.py | ||
---|---|---|
180 | 180 |
self._run() |
181 | 181 |
|
182 | 182 |
def _set_account(self): |
183 |
astakos = AstakosClient(self.config.get('astakos', 'url'), self.token)
|
|
184 |
self.account = self['account'] or astakos.term('uuid')
|
|
183 |
user = AstakosClient(self.config.get('user', 'url'), self.token)
|
|
184 |
self.account = self['account'] or user.term('uuid')
|
|
185 | 185 |
|
186 | 186 |
"""Backwards compatibility""" |
187 | 187 |
self.account = self.account\ |
Also available in: Unified diff