From f8f25b80c7fbf9a071d64c0e8906bf165085cf43 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Thu, 11 Apr 2024 13:45:37 +0200 Subject: [PATCH] (launch) fix describe of PathJoinSubstitution (#771) Signed-off-by: Matthijs van der Burgh --- launch/launch/substitutions/path_join_substitution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch/launch/substitutions/path_join_substitution.py b/launch/launch/substitutions/path_join_substitution.py index 0d9aa4d25..27f83328d 100644 --- a/launch/launch/substitutions/path_join_substitution.py +++ b/launch/launch/substitutions/path_join_substitution.py @@ -38,7 +38,7 @@ def substitutions(self) -> Iterable[Substitution]: def describe(self) -> Text: """Return a description of this substitution as a string.""" - return "LocalVar('{}')".format(' + '.join([s.describe() for s in self.substitutions])) + return f"PathJoin('{' + '.join([s.describe() for s in self.substitutions])}')" def perform(self, context: LaunchContext) -> Text: """Perform the substitution by retrieving the local variable."""