Closed hmellor closed 3 years ago
@HMellor LaunchConfigurationNotEquals
takes the launch configuration name, not the object itself.
Having said that, I'm open to supporting that OR improving documentation to make it clearer. Would you be willing to do the latter?
Ah ok, the type hinting for the argument was SomeSubstitutionsType
, which is non-specific and open to being misinterpreted (such as I have done here). If it's just the docstring I'd be happy to make a pull request to clarify the argument. Have I understood you correctly @hidmic?
If it's just the docstring I'd be happy to make a pull request to clarify the argument. Have I understood you correctly @hidmic?
Yes, exactly.
Bug report
Required Info:
Steps to reproduce issue
I am trying to include an external launch file in a new launch file, but only if an argument in the new launch file is set. I have tried to do this using the
condition
kwarg where the specified condition evaluates toFalse
if the value ofarg
is the default""
. However, the condition always evaluates toTrue
.Expected behavior
If the
arg
has not been set, thenpackage_launch
's condition should evaluate toFalse
and thelaunch.py
should not run from the new launch file.Actual behavior
launch.py
always runs.