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