Merge pull request #25556 from attiasr/patch-1

fix for #25532
This commit is contained in:
Mike Place 2015-07-20 11:45:11 -06:00
commit 7c7015ccda

View File

@ -643,7 +643,11 @@ def _get_name_map():
'''
Return a reverse map of full pkg names to the names recognized by winrepo.
'''
return get_repo_data().get('name_map', {})
u_name_map = {}
name_map = get_repo_data().get('name_map', {})
for k in name_map.keys():
u_name_map[salt.utils.sdecode(k)] = name_map[k]
return u_name_map
def _get_package_info(name):