Skip to content

Commit a43a777

Browse files
committed
Need special treatment for rocoto: section for envvars config check
1 parent 9785fc8 commit a43a777

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ush/setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ def load_config_for_setup(ushdir, default_config_path, user_config_path):
117117
# Check user config for envvars not placed in the envvars section
118118
errmsg=''
119119
for section in user_config:
120+
# "rocoto:" section needs special treatment since it isn't in defaults
121+
if section=="rocoto":
122+
continue
120123
if envvars:=default_config[section].get("envvars"):
121124
for k,v in envvars.items():
122125
if k in user_config[section]:

0 commit comments

Comments
 (0)