Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
556e6916
Commit
556e6916
authored
Jun 26, 2013
by
Stavros Sachtouris
Browse files
Fix logger in snf-astakos commands
parent
8b2d63a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/commands/snf-astakos.py
View file @
556e6916
...
...
@@ -46,9 +46,6 @@ snfastakos_cmds = CommandTree('astakos', 'astakosclient CLI')
_commands
=
[
snfastakos_cmds
]
log
=
get_logger
(
__name__
)
class
_astakos_init
(
_command_init
):
def
__init__
(
self
,
arguments
=
dict
(),
auth_base
=
None
,
cloud
=
None
):
...
...
@@ -71,7 +68,8 @@ class _astakos_init(_command_init):
base_url
=
self
.
_custom_url
(
'astakos'
)
if
not
base_url
:
raise
CLIBaseUrlError
(
service
=
'astakos'
)
self
.
client
=
AstakosClient
(
base_url
,
logger
=
log
)
self
.
client
=
AstakosClient
(
base_url
,
logger
=
get_logger
(
'kamaki.clients'
))
def
main
(
self
):
self
.
_run
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment