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
eddaace7
Commit
eddaace7
authored
Sep 20, 2013
by
Stavros Sachtouris
Browse files
Fix --more bug in _optional_json commands
parent
7f1085c6
Changes
1
Show whitespace changes
Inline
Side-by-side
kamaki/cli/commands/__init__.py
View file @
eddaace7
...
...
@@ -264,7 +264,8 @@ class _optional_json(object):
if
self
[
'json_output'
]:
print_json
(
output
,
out
=
self
.
_out
)
else
:
print_method
(
output
,
out
=
self
.
_out
,
**
print_method_kwargs
)
print_method_kwargs
.
setdefault
(
'out'
,
self
.
_out
)
print_method
(
output
,
**
print_method_kwargs
)
class
_name_filter
(
object
):
...
...
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