From 9778894fc4029e24bd8896e735af4de5f7772b29 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 23 Sep 2024 06:00:51 -0700 Subject: [PATCH] Use 'output' to configure EmPy v4 redirection (#666) 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: