From 2cb8f99ad932ba1da45bba656edce860dd08e55a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Wed, 24 Jul 2019 17:00:30 +0200 Subject: [PATCH] Force certain indenting style Maybe not the best approach, but makes the new-release cli output similar to what we used to do. Change-Id: I1a5aa4293ed674d029affbd123d7f75001b827f0 --- openstack_releases/yamlutils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack_releases/yamlutils.py b/openstack_releases/yamlutils.py index b8bbe2bb19..b80eb9d90c 100644 --- a/openstack_releases/yamlutils.py +++ b/openstack_releases/yamlutils.py @@ -23,6 +23,7 @@ def dumps(obj): stream = ruamel.yaml.compat.StringIO() yaml.explicit_start = True + yaml.indent(mapping=2, sequence=4, offset=2) yaml.dump(obj, stream) return stream.getvalue()