Merge pull request #25598 from twangboy/fix_25437

Fixed problem trying to load file with name of boolean type
This commit is contained in:
Mike Place 2015-07-22 11:07:49 -06:00
commit 7b79e433f1

View file

@ -625,7 +625,7 @@ def get_repo_data(saltenv='base'):
if not cached_repo:
__salt__['pkg.refresh_db']()
try:
with salt.utils.fopen(cached_repo, 'rb') as repofile:
with salt.utils.fopen(repocache, 'rb') as repofile:
try:
repodata = msgpack.loads(repofile.read()) or {}
#__context__['winrepo.data'] = repodata