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 sorting of keys in same cases #127

Merged
merged 1 commit into from
Feb 28, 2019
Merged

fix sorting of keys in same cases #127

merged 1 commit into from
Feb 28, 2019

Conversation

dirk-thomas
Copy link
Contributor

Follow up of #94.

Depending on the layout the groups keys might end up containing the default root None as well as other str values. As a consequence the sorted call fails with:

TypeError: '<' not supported between instances of 'str' and 'NoneType'

@dirk-thomas dirk-thomas added bug Something isn't working in review Waiting for review (Kanban column) labels Feb 28, 2019
@dirk-thomas dirk-thomas self-assigned this Feb 28, 2019
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas merged commit 40f5988 into master Feb 28, 2019
@dirk-thomas dirk-thomas deleted the fix_sort branch February 28, 2019 23:32
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Feb 28, 2019
kenji-miyake pushed a commit to kenji-miyake/ament_lint that referenced this pull request Oct 20, 2021
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants