From d2865e44a0714ac2bef8b6acd8126b141aa0531f Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 6 Nov 2012 18:10:50 -0800 Subject: [PATCH] Used the wrong yaml load --- anvil/components/helpers/glance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anvil/components/helpers/glance.py b/anvil/components/helpers/glance.py index 82dd1479..a1712515 100644 --- a/anvil/components/helpers/glance.py +++ b/anvil/components/helpers/glance.py @@ -359,7 +359,7 @@ class Image(object): raise IOError("Can not determine file name from url: %r" % (self.url)) (cache_path, details_path) = self._cached_paths() if sh.exists(cache_path) and sh.exists(details_path): - unpack_info = utils.load_yaml(sh.load_file(details_path)) + unpack_info = utils.load_yaml_text(sh.load_file(details_path)) else: sh.mkdir(cache_path) if not self._is_url_local():