Skip to content

Commit

Permalink
name change
Browse files Browse the repository at this point in the history
  • Loading branch information
elcarpenterNOAA committed Aug 18, 2023
1 parent e07a97d commit 49a4f06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/uwtools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,13 +769,13 @@ def create_config_obj(
dump_method(path=outfile, cfg=config_obj)


def print_config_section(config: dict, section_path: List[str], log: Logger) -> None:
def print_config_section(config: dict, key_path: List[str], log: Logger) -> None:
"""
Descends into the config via the given section keys, then prints the contents of the located
subtree as key=value pairs, one per line.
Descends into the config via the given keys, then prints the contents of the located subtree as
key=value pairs, one per line.
"""
keys = []
for section in section_path:
for section in key_path:
keys.append(section)
current_path = " -> ".join(keys)
try:
Expand Down

0 comments on commit 49a4f06

Please sign in to comment.