mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
parent
8c46d69251
commit
52d47cece9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user