Revision 9bc8317f

b/kamaki/cli/commands/astakos_cli.py
36 36
from kamaki.cli.utils import print_dict
37 37
from kamaki.cli.commands import _command_init, errors
38 38
from kamaki.cli.command_tree import CommandTree
39
from kamaki.cli.argument import ValueArgument
39
# from kamaki.cli.argument import ValueArgument
40 40

  
41 41
astakos_cmds = CommandTree('astakos', 'Astakos API commands')
42 42
_commands = [astakos_cmds]
b/kamaki/cli/commands/errors.py
123 123
    def authenticate(this, foo):
124 124
        def _raise(self, *args, **kwargs):
125 125
            try:
126
                r = foo(self, *args, **kwargs)
126
                return foo(self, *args, **kwargs)
127 127
            except ClientError as ce:
128 128
                if ce.status == 401:
129 129
                    token = kwargs.get('custom_token', 0) or self.client.token
......
133 133
                    details = [] if token else this._token_details
134 134
                    raiseCLIError(ce, msg, details=details)
135 135
            self._raise = foo
136
            return r
137 136
        return _raise
138 137

  
139 138

  

Also available in: Unified diff