aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/template_format.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/common/template_format.py')
-rw-r--r--yardstick/common/template_format.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yardstick/common/template_format.py b/yardstick/common/template_format.py
index e1662ced1..98c0a0b3c 100644
--- a/yardstick/common/template_format.py
+++ b/yardstick/common/template_format.py
@@ -51,6 +51,7 @@ def parse(tmpl_str):
tpl = jsonutils.loads(tmpl_str)
else:
try:
+ # we already use SafeLoader when constructing special Heat YAML loader class
tpl = yaml.load(tmpl_str, Loader=yaml_loader)
except yaml.YAMLError as yea:
raise ValueError(yea)