From b1e9fd9bf9e9100b9853c62bd98104fb2604ef30 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Fri, 20 Sep 2024 11:55:38 -0500 Subject: [PATCH] Use 'output' to configure EmPy v4 redirection This aligns with our strategy for earlier EmPy versions and avoids an assertion deep in EmPy v4 if 'output' is unspecified. --- colcon_core/shell/template/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colcon_core/shell/template/__init__.py b/colcon_core/shell/template/__init__.py index a7cdbcc6..c04fce3d 100644 --- a/colcon_core/shell/template/__init__.py +++ b/colcon_core/shell/template/__init__.py @@ -43,9 +43,9 @@ def expand_template(template_path, destination_path, data): output=output, options={OVERRIDE_OPT: False}) else: interpreter = CachingInterpreter( + output=output, config=Configuration( defaultRoot=str(template_path), - defaultStdout=output, useProxy=False), dispatcher=False) try: