Always use block for YAML dumping

This commit is contained in:
tengqm
2015-02-15 21:28:18 +08:00
parent e29c8097e1
commit a0a84e2a21

View File

@@ -35,7 +35,7 @@ exit = cliutils.exit
supported_formats = {
"json": lambda x: jsonutils.dumps(x, indent=2),
"yaml": yaml.safe_dump
"yaml": lambda x: yaml.safe_dump(x, default_flow_style=False)
}