Missing carriage return in some cases, using -f json
Closes-Bug #1674213 Change-Id: Id897d890c1c2fa2a7234e057e4d5c3dd4d8d55e6
This commit is contained in:
parent
99236b4926
commit
b895afe8e1
|
@ -52,3 +52,4 @@ class JSONFormatter(base.ListFormatter, base.SingleFormatter):
|
|||
}
|
||||
indent = None if parsed_args.noindent else 2
|
||||
json.dump(one, stdout, indent=indent)
|
||||
stdout.write('\n')
|
||||
|
|
Loading…
Reference in New Issue