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

Fix empty yaml parsing #153

Merged
merged 1 commit into from
Aug 10, 2017
Merged

Fix empty yaml parsing #153

merged 1 commit into from
Aug 10, 2017

Conversation

tfoote
Copy link
Member

@tfoote tfoote commented Aug 10, 2017

Fixes #152

The empty yaml was coming through as a list not a dict so was breaking the expectations.

I used the shorthand or {} since I know any valid data won't evaluate to zero. A more complete solution is described here: https://stackoverflow.com/a/35777649/604099

Fixes #152

The empty yaml was coming through as a list not a dict so was breaking the expectations.

I used the shorthand `or {}` since I know any valid data won't evaluate to zero. A more complete solution is described here: https://stackoverflow.com/a/35777649/604099
@tfoote tfoote merged commit 0d3d80d into indigo-devel Aug 10, 2017
@tfoote tfoote deleted the fix_empty_yaml branch August 10, 2017 19:46
tfoote added a commit to ros/geometry2 that referenced this pull request Sep 27, 2017
Copy link

@joseluis12 joseluis12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ok ! !

kheaactua pushed a commit to kheaactua/conan-tf2 that referenced this pull request Dec 22, 2018
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