Skip to content

Commit 2286fca

Browse files
committed
fix lamda->def
1 parent 8d7aa16 commit 2286fca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stackinator/recipe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,11 @@ def environment_view_meta(self):
302302
}
303303

304304
def fill(s):
305-
re.sub(
305+
return re.sub(
306306
r"\$@(\w+)@",
307307
lambda m: substitutions.get(m.group(1), m.group(0)),
308308
s,
309309
)
310-
return s
311310

312311
ev_inputs = view["extra"]["env_vars"]
313312
env = envvars.EnvVarSet()

0 commit comments

Comments
 (0)