mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
17cfd4f7cf
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ def _reverse_lookup(dictionary, value):
|
|||
value_index = idx
|
||||
break
|
||||
|
||||
return dictionary.keys()[value_index]
|
||||
return list(dictionary)[value_index]
|
||||
|
||||
|
||||
def _lookup_first(dictionary, key):
|
||||
|
|
Loading…
Add table
Reference in a new issue