1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00

use yaml.safe_load for parsing metadata

This commit is contained in:
Michael Pöhn 2018-08-29 00:33:58 +02:00
parent 1a8c77e815
commit e7a34807f7

View File

@ -1073,7 +1073,7 @@ def parse_json_metadata(mf, app):
def parse_yaml_metadata(mf, app):
yamldata = yaml.load(mf, Loader=YamlLoader)
yamldata = yaml.safe_load(mf)
if yamldata:
for field in yamldata: