Used the wrong yaml load

This commit is contained in:
Joshua Harlow 2012-11-06 18:10:50 -08:00
parent f88b2dd651
commit d2865e44a0

View File

@ -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():