Skip to content

Commit 8d7aa16

Browse files
committed
feed the checker
1 parent 93c2ba0 commit 8d7aa16

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

stackinator/recipe.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,14 @@ def environment_view_meta(self):
300300
"mount": str(self.mount),
301301
"view_path": str(view["config"]["root"]),
302302
}
303-
fill = lambda s: re.sub(
304-
r"\$@(\w+)@",
305-
lambda m: substitutions.get(m.group(1), m.group(0)),
306-
s,
307-
)
303+
304+
def fill(s):
305+
re.sub(
306+
r"\$@(\w+)@",
307+
lambda m: substitutions.get(m.group(1), m.group(0)),
308+
s,
309+
)
310+
return s
308311

309312
ev_inputs = view["extra"]["env_vars"]
310313
env = envvars.EnvVarSet()

0 commit comments

Comments
 (0)