X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=lib%2Futil.py;h=ac92c4dac813a9b219c6ef1d1aeb694a44ac7d08;hb=70f9629aef040ce2bd6fba9c082f15d33ac00ef1;hp=71fc36b18b54e517c7315ee7d9f42be12c173747;hpb=fb37bca4b7e8178c65df2f1496afe372c1d55e78;p=osm%2FLW-UI.git diff --git a/lib/util.py b/lib/util.py index 71fc36b..ac92c4d 100644 --- a/lib/util.py +++ b/lib/util.py @@ -78,7 +78,7 @@ class Util(object): def json2yaml(cls, object_json): """Converts a json object into a yaml representation""" log.debug('json2yaml') - return yaml.safe_dump(object_json, default_flow_style=False) if not object_json is None else None + return yaml.safe_dump(object_json, default_flow_style=False, indent=4) if not object_json is None else None @classmethod def openfile(cls, filepath, mode='r', buffering=1):