summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
20fc3b7)
Change-Id: Ibdb89b23560f2c587f554f11f0e2a577047e6e22
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
path = "pla.yaml"
config_file = pkg_resources.resource_filename(__name__, path)
with open(config_file) as f:
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:
def _read_env(self):
for env in os.environ: