提交 7e097f3c 编写于 作者: H HydrogenSulfate

delete useless file and update 'print_dict' function

上级 fd2f7994
......@@ -66,7 +66,7 @@ def print_dict(d, delimiter=0):
indenting acrrording by the relationship of keys.
"""
placeholder = "-" * 60
for k, v in sorted(d.items()):
for k, v in d.items():
if isinstance(v, dict):
logger.info("{}{} : ".format(delimiter * " ",
logger.coloring(k, "HEADER")))
......
......@@ -66,7 +66,7 @@ def print_dict(d, delimiter=0):
indenting acrrording by the relationship of keys.
"""
placeholder = "-" * 60
for k, v in sorted(d.items()):
for k, v in d.items():
if isinstance(v, dict):
logger.info("{}{} : ".format(delimiter * " ", k))
print_dict(v, delimiter + 4)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册