mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Avoid warning and use safeloader
This commit is contained in:
parent
47673ea728
commit
9af308dd93
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue