From c1620eef3385106a48e5c2e81978e1191d969d91 Mon Sep 17 00:00:00 2001 From: Olivier Date: Sat, 2 Jan 2021 19:38:19 +0000 Subject: [PATCH] Bugfix for templated locally-scoped variables and dishcache --- scone/head/kitchen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scone/head/kitchen.py b/scone/head/kitchen.py index 2653aa7..584f1a8 100644 --- a/scone/head/kitchen.py +++ b/scone/head/kitchen.py @@ -244,7 +244,7 @@ class Kitchen: return prev_book, False # compute and compare the var hash... - sous_vars = self.head.variables[recipe.recipe_context.sous] + sous_vars = recipe.recipe_context.variables vars_to_hash = {} for var in prev_book.var_list: vars_to_hash[var] = sous_vars.get_dotted(var)