summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r--cloudinit/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py
index 85c6fd1b..6a1b46c5 100644
--- a/cloudinit/__init__.py
+++ b/cloudinit/__init__.py
@@ -421,7 +421,7 @@ class CloudInit:
## for now, not doing this as it seems somewhat circular
## as CloudConfig does that also, merging it with this cfg
##
- # ccfg = yaml.load(self.cloud_config_str)
+ # ccfg = yaml.safe_load(self.cloud_config_str)
# if ccfg is None: ccfg = {}
# self.cfg = util.mergedict(ccfg, self.cfg)
@@ -537,7 +537,7 @@ def get_base_cfg(cfg_path=None):
def get_builtin_cfg():
- return(yaml.load(cfg_builtin))
+ return(yaml.safe_load(cfg_builtin))
class DataSourceNotFoundException(Exception):