summaryrefslogtreecommitdiff
path: root/dump-bag
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-07-17 15:10:59 +0300
committerLars Wirzenius <liw@liw.fi>2015-07-17 15:10:59 +0300
commit563834387512f08031f316f6ceae0b9ed687a5f8 (patch)
tree9e415c565d0e94dc61cbfb2af442117bf22c7ed1 /dump-bag
parent5de708a7637eb97838aa4bd6f2a9134ed59760b1 (diff)
downloadobnam-563834387512f08031f316f6ceae0b9ed687a5f8.tar.gz
Prettify YAML output from dump-bag, dump-obj
Diffstat (limited to 'dump-bag')
-rwxr-xr-xdump-bag2
1 files changed, 1 insertions, 1 deletions
diff --git a/dump-bag b/dump-bag
index 3c0fe6e5..b1341d59 100755
--- a/dump-bag
+++ b/dump-bag
@@ -40,4 +40,4 @@ for filename in sys.argv[1:]:
decoded = []
for obj_blob in bag:
obj = obnamlib.deserialise_object(obj_blob)
- yaml.safe_dump(obj, stream=sys.stdout)
+ yaml.safe_dump(obj, stream=sys.stdout, default_flow_style=False)