projects
/
osm
/
LW-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added dh-make to Dockerfile
[osm/LW-UI.git]
/
lib
/
util.py
diff --git
a/lib/util.py
b/lib/util.py
index
9d33aa6
..
ac92c4d
100644
(file)
--- 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')
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, indent=
2
) 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):
@classmethod
def openfile(cls, filepath, mode='r', buffering=1):