Changed repocache back to cached_repo

This commit is contained in:
twangboy 2015-07-28 11:45:52 -06:00
parent 737fb1410c
commit 81d5b5ee55

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