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

Avoid TypeError due to NoneType comparison #30

Merged
merged 1 commit into from
Jul 3, 2019
Merged

Avoid TypeError due to NoneType comparison #30

merged 1 commit into from
Jul 3, 2019

Conversation

timonegk
Copy link
Contributor

@timonegk timonegk commented Nov 1, 2018

In python3, comparing None with other types is no longer possible. This leads to a TypeError in https://github.com/ros-visualization/rqt_reconfigure/blob/master/src/rqt_reconfigure/param_updater.py#L70. The python2 behavior can be reproduced by changing the line as suggested in this PR.

@cottsay
Copy link
Member

cottsay commented Jul 3, 2019

retest this please

@cottsay cottsay self-assigned this Jul 3, 2019
@cottsay cottsay added the bug label Jul 3, 2019
@cottsay cottsay merged commit 11dfebf into ros-visualization:master Jul 3, 2019
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