win_pkg under py3 keys returns a view instead of a list, wrap keys in list()

This commit is contained in:
Damon Atkins 2018-06-02 00:12:20 +10:00
parent 735e92093e
commit 4ce0fe6546

View file

@ -949,7 +949,7 @@ def _repo_process_pkg_sls(filename, short_path_name, ret, successful_verbose):
else:
ret.setdefault('repo', {}).update(config)
ret.setdefault('name_map', {}).update(revmap)
successful_verbose[short_path_name] = config.keys()
successful_verbose[short_path_name] = list(config.keys())
elif config:
return _failed_compile('Compiled contents', 'not a dictionary/hash')
else: