SPM-METADATA are now loaded as yaml from remote URLs

fixes #37095
This commit is contained in:
Alexander Werner 2016-10-21 09:03:27 +02:00
parent 8c46d69251
commit 52d47cece9

View File

@ -323,7 +323,7 @@ class SPMClient(object):
metadata = yaml.safe_load(rpm)
else:
response = http.query(dl_path, text=True)
metadata = response.get('text', {})
metadata = yaml.safe_load(response.get('text', '{}'))
cache_path = '{0}/{1}.p'.format(
self.opts['spm_cache_dir'],
repo