[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[foxy] Handle empty strings when evaluating parameters (#300) #302

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

jacobperron
Copy link
Member

Backport #300 to Foxy.

If a substitution evaluates to the empty string, then yaml.safe_load() will return None, resulting
in an exception being raised. Instead, this commit allows for the empty string by first wrapping
it in an extra set of quotes before passing to yaml.safe_load().

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author
  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@jacobperron jacobperron merged commit a58b2e6 into foxy Mar 7, 2022
@delete-merged-branch delete-merged-branch bot deleted the jacob/foxy_backport_300 branch March 7, 2022 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants