Commit b33ef0de by Michael DeHaan

Add a newline in output here, possibly considering printing top level keys flat

parent 1420c492
...@@ -166,10 +166,10 @@ class Cli(object): ...@@ -166,10 +166,10 @@ class Cli(object):
print buf print buf
else: else:
if not failed: if not failed:
buf += "%s >>" % hostname buf += "%s >>\n" % hostname
else: else:
buf += "%s | FAILED >>" % hostname buf += "%s | FAILED >>\n" % hostname
buf += json.dumps(result, indent=4, sort_keys=True) buf += json.dumps(result, sort_keys=True)
print buf print buf
if options.tree: if options.tree:
path = os.path.join(options.tree, hostname) path = os.path.join(options.tree, hostname)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment