[fix] Avoid warning and use safeloader

This commit is contained in:
ljf 2021-08-17 17:23:27 +02:00
parent 47673ea728
commit 9af308dd93

View file

@ -384,7 +384,7 @@ class ExtraArgumentParser(object):
def ordered_yaml_load(stream): def ordered_yaml_load(stream):
class OrderedLoader(yaml.Loader): class OrderedLoader(yaml.SafeLoader):
pass pass
OrderedLoader.add_constructor( OrderedLoader.add_constructor(