From d1a4ef71d984a5145bc66a53f610f8fae0f4628b Mon Sep 17 00:00:00 2001 From: Olivier Delalleau <507137+odelalleau@users.noreply.github.com> Date: Sat, 10 Apr 2021 09:19:23 -0400 Subject: [PATCH] Small code simplification --- omegaconf/built_in_resolvers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omegaconf/built_in_resolvers.py b/omegaconf/built_in_resolvers.py index 877adbb6a..885d6e4b3 100644 --- a/omegaconf/built_in_resolvers.py +++ b/omegaconf/built_in_resolvers.py @@ -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)