summaryrefslogtreecommitdiff
path: root/heatclient/common/template_utils.py
diff options
context:
space:
mode:
authorricolin <rico.l@inwinstack.com>2015-08-27 16:03:12 +0800
committerricolin <rico.l@inwinstack.com>2015-08-27 16:03:12 +0800
commitdb84e35fa23d6d3bbd96421edf9a53cd7cd8b7b5 (patch)
treecb3a536c9f858b8b2baaf907b750204bbb8b6920 /heatclient/common/template_utils.py
parent1751fdeef10a51c617c6000be51e291361b5eafe (diff)
downloadpython-heatclient-db84e35fa23d6d3bbd96421edf9a53cd7cd8b7b5.tar.gz
Replace deprecated function
Function *read_url_content* already deprecated, and should be replaced by function *read_url_content* in utils. Change-Id: I34729251da06bbda054bc7b543a6de588a58c728
Diffstat (limited to 'heatclient/common/template_utils.py')
-rw-r--r--heatclient/common/template_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/common/template_utils.py b/heatclient/common/template_utils.py
index a5a018b..ca0885d 100644
--- a/heatclient/common/template_utils.py
+++ b/heatclient/common/template_utils.py
@@ -119,7 +119,7 @@ def get_file_contents(from_data, files, base_url=None,
str_url = parse.urljoin(base_url, value)
if str_url not in files:
- file_content = read_url_content(str_url)
+ file_content = utils.read_url_content(str_url)
if is_template(file_content):
template = get_template_contents(
template_url=str_url, files=files)[1]