Skip to content

Commit

Permalink
Use 'output' to configure EmPy v4 redirection
Browse files Browse the repository at this point in the history
This aligns with our strategy for earlier EmPy versions and avoids an
assertion deep in EmPy v4 if 'output' is unspecified.
  • Loading branch information
cottsay committed Sep 20, 2024
1 parent fbbb8af commit b1e9fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colcon_core/shell/template/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b1e9fd9

Please sign in to comment.