Skip to content

Commit

Permalink
Small code simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
odelalleau committed Apr 10, 2021
1 parent 517b852 commit d1a4ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omegaconf/built_in_resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def dict_values(key: str, _root_: BaseContainer, _parent_: Container) -> ListCon
assert isinstance(content, dict)

ret = ListConfig([])
for k, node in content.items():
for k in content:
ref_node = AnyNode(f"${{{key}.{k}}}")
ret.append(ref_node)

Expand Down

0 comments on commit d1a4ef7

Please sign in to comment.