Merge pull request #25797 from twangboy/fix_revert_in_25763

Changed repocache back to cached_repo
This commit is contained in:
Justin Findlay 2015-07-28 16:39:32 -06:00
commit 4a38d4a606

View file

@ -629,7 +629,7 @@ def get_repo_data(saltenv='base'):
log.error('No repo file found on the minion')
return {}
try:
with salt.utils.fopen(repocache, 'rb') as repofile:
with salt.utils.fopen(cached_repo, 'rb') as repofile:
try:
repodata = msgpack.loads(repofile.read()) or {}
#__context__['winrepo.data'] = repodata