提交 f222dade 编写于 作者: B Boyang Jerry Peng 提交者: xiaolong.ran

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

This reverts commit d49e61e0.

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