From: garciadeblas Date: Tue, 15 Nov 2022 15:27:50 +0000 (+0100) Subject: Use of yaml.safe_load instead of yaml_load X-Git-Tag: v13.0.0rc1^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=8e3a2b8d24441ca89ffe3f8255720b9b99b0089e;p=osm%2FPLA.git Use of yaml.safe_load instead of yaml_load Change-Id: Ibdb89b23560f2c587f554f11f0e2a577047e6e22 Signed-off-by: garciadeblas --- diff --git a/osm_pla/config/config.py b/osm_pla/config/config.py index 13ff43b..2fd7a8b 100644 --- a/osm_pla/config/config.py +++ b/osm_pla/config/config.py @@ -35,7 +35,7 @@ class Config: path = "pla.yaml" config_file = pkg_resources.resource_filename(__name__, path) with open(config_file) as f: - self.conf = yaml.load(f) + self.conf = yaml.safe_load(f) def _read_env(self): for env in os.environ: