Revision 8c54338a kamaki/cli/commands/pithos.py

b/kamaki/cli/commands/pithos.py
180 180

  
181 181
    def _set_account(self):
182 182
        if getattr(self, 'base_url', False):
183
            self.account = self.auth_base.user_term('uuid', self.token)
183
            self.account = self.auth_base.user_term('id', self.token)
184 184
        else:
185 185
            astakos_url = self.config('astakos', 'get')
186 186
            if not astakos_url:
187 187
                raise CLIBaseUrlError(service='astakos')
188 188
            astakos = AstakosClient(astakos_url, self.token)
189
            self.account = astakos.user_term('uuid')
189
            self.account = astakos.user_term('id')
190 190

  
191 191

  
192 192
class _file_account_command(_pithos_init):

Also available in: Unified diff