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
fe3b6bef
Commit
fe3b6bef
authored
Aug 28, 2013
by
Stavros Sachtouris
Browse files
Handle _membership_action result as non-dict
parent
664ab9c5
Changes
1
Show whitespace changes
Inline
Side-by-side
kamaki/cli/commands/snf-astakos.py
View file @
fe3b6bef
...
...
@@ -771,10 +771,8 @@ class _membership_action(_astakos_init, _optional_json):
@
errors
.
generic
.
all
@
astakoserror
def
_run
(
self
,
memb_id
,
quote_a_reason
):
self
.
_print
(
self
.
client
.
membership_action
(
self
.
token
,
memb_id
,
self
.
action
,
quote_a_reason
),
print_dict
)
self
.
_print
(
self
.
client
.
membership_action
(
self
.
token
,
memb_id
,
self
.
action
,
quote_a_reason
))
def
main
(
self
,
membership_id
,
quote_a_reason
=
''
):
super
(
_membership_action
,
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