]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Use yaml.safe_load: full yaml.load isn't needed
authorClint Byrum <clint@fewbar.com>
Thu, 7 Feb 2013 00:27:23 +0000 (16:27 -0800)
committerClint Byrum <clint@fewbar.com>
Thu, 7 Feb 2013 00:27:23 +0000 (16:27 -0800)
commitd2223869f97055bd1012a31a29c3b1df24773a79
tree5673358e935d3beddb8342e1b6e4bf8a6137c14c
parentaa80a0700d3972e53b9fc794edb70161652f424e
Use yaml.safe_load: full yaml.load isn't needed

The only reason to use yaml.load instead of safe_load is if one wants to
load serialized objects. Heat's use case is purely to load basic data
structures such as maps/lists/strings. Fixes bug #1117820

Change-Id: I4f6cf2ed4e15405f8b296ccaec737a3779c9867d
heat/common/template_format.py