提交 c4035d3d 编写于 作者: B Boyang Jerry Peng 提交者: tuteng

Revert "Add default loader for latest pyyaml (#4974)" (#5432)

This reverts commit d49e61e0.
上级 be6a1025
...@@ -46,7 +46,7 @@ if len(sys.argv) < 2: ...@@ -46,7 +46,7 @@ if len(sys.argv) < 2:
conf_files = sys.argv[1:] conf_files = sys.argv[1:]
for conf_filename in conf_files: for conf_filename in conf_files:
conf = yaml.load(open(conf_filename), Loader=yaml.FullLoader) conf = yaml.load(open(conf_filename))
# update the config # update the config
modified = False modified = False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册