projects
/
osm
/
POL.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use of yaml.safe_load instead of yaml_load
[osm/POL.git]
/
osm_policy_module
/
core
/
config.py
diff --git
a/osm_policy_module/core/config.py
b/osm_policy_module/core/config.py
index
289894a
..
1bc9b2b
100644
(file)
--- a/
osm_policy_module/core/config.py
+++ b/
osm_policy_module/core/config.py
@@
-43,7
+43,7
@@
class Config:
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: