Revision 58af3e42 kamaki/cli/commands/history.py
b/kamaki/cli/commands/history.py | ||
---|---|---|
161 | 161 |
_cmd_tree = None |
162 | 162 |
|
163 | 163 |
def __init__(self, arguments={}, auth_base=None, cmd_tree=None): |
164 |
super(self.__class__, self).__init__(arguments) |
|
164 |
super(self.__class__, self).__init__(arguments, auth_base=auth_base)
|
|
165 | 165 |
self._cmd_tree = cmd_tree |
166 | 166 |
|
167 | 167 |
@errors.generic.all |
... | ... | |
171 | 171 |
if not cmd.is_command: |
172 | 172 |
return |
173 | 173 |
try: |
174 |
instance = cmd.get_class()(self.arguments) |
|
174 |
instance = cmd.get_class()( |
|
175 |
self.arguments, |
|
176 |
auth_base=getattr(self, 'auth_base', None)) |
|
175 | 177 |
instance.config = self.config |
176 | 178 |
prs = ArgumentParseManager( |
177 | 179 |
cmd.path.split(), |
Also available in: Unified diff