summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
be42d54)
Change-Id: I0bf420ff9b0a977e6c50e7379646e9ec64c87a56
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
path = "pol.yaml"
config_file = pkg_resources.resource_filename(__name__, path)
with open(config_file) as f:
path = "pol.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: