upgrad pyyaml

This commit is contained in:
Lex Berezhny 2020-06-09 23:25:42 -04:00
parent 2c10e71774
commit 96d1926da4
2 changed files with 2 additions and 2 deletions

View file

@ -325,7 +325,7 @@ class ConfigFileAccess:
cls = type(self.configuration)
with open(self.path, 'r') as config_file:
raw = config_file.read()
serialized = yaml.load(raw) or {}
serialized = yaml.full_load(raw) or {}
for key, value in serialized.items():
attr = getattr(cls, key, None)
if attr is None:

View file

@ -49,7 +49,7 @@ setup(
'msgpack==0.6.1',
'prometheus_client==0.7.1',
'ecdsa==0.13.3',
'pyyaml==4.2b1',
'pyyaml==5.3.1',
'docopt==0.6.2',
'hachoir',
'multidict==4.6.1',