X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fcore%2Fconfig.py;h=1dfb16c8d19eac01914b1efb3a27e284bce0add2;hb=refs%2Fchanges%2F95%2F12695%2F1;hp=815e66e9f61b9f9cd90d7ce54e3c33becd708439;hpb=e11d5666a1adfcb2880d99ed16554cdc000507b7;p=osm%2FMON.git diff --git a/osm_mon/core/config.py b/osm_mon/core/config.py index 815e66e..1dfb16c 100644 --- a/osm_mon/core/config.py +++ b/osm_mon/core/config.py @@ -43,7 +43,7 @@ class Config: path = "mon.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 get(self, section, field=None): if not field: