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 error handling with Python 3 #2050

Merged
merged 2 commits into from
Sep 23, 2020
Merged

Conversation

seanyen
Copy link
Contributor

@seanyen seanyen commented Sep 22, 2020

This is motivated by the issue found here: ms-iot/ROSOnWindows#275

The exception object in Python3 will unpack more than 2 outputs in Python3 and this pull request is to capture and discard the rest to avoid the error: too many values to unpack.

NOTE: This is a Python3 idiom to use wildcard for unpack, so this is not compatible with Melodic or older distributions.

@dirk-thomas dirk-thomas changed the title [noetic] Python3 compatible. fix error handling with Python 3 Sep 23, 2020
@dirk-thomas dirk-thomas merged commit 425fad3 into ros:noetic-devel Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants