Change-Id: I0e29756728212c6595276f16ac60afbfdb390214
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
path = "config.yaml"
config_file = pkg_resources.resource_filename(__name__, path)
with open(config_file) as f:
path = "config.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:
def get(self, section, field=None):
if not field: