Skip to content

Handle ValueError#643

Merged
audrow merged 3 commits intoros2:masterfrom
rob-clarke:handle-valueerror
Jun 4, 2021
Merged

Handle ValueError#643
audrow merged 3 commits intoros2:masterfrom
rob-clarke:handle-valueerror

Conversation

@rob-clarke
Copy link
Copy Markdown
Contributor

Changes in ament/ament_index#69 adds a possible ValueError to get_package_prefix when the package name is invalid.
This PR handles this case identically to a missing package by returning None from the API call.

Tracking work in progress in ament/ament_index#69

Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk>
Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk>
@rob-clarke rob-clarke force-pushed the handle-valueerror branch from dba005f to ad598cb Compare May 28, 2021 16:47
Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk>
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm

@rob-clarke
Copy link
Copy Markdown
Contributor Author

@audrow ValueError handling PR to fix CI

@rob-clarke rob-clarke marked this pull request as ready for review June 3, 2021 00:47
Copy link
Copy Markdown
Member

@audrow audrow left a comment

Choose a reason for hiding this comment

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

Looks good. I'll run CI.

@audrow
Copy link
Copy Markdown
Member

audrow commented Jun 3, 2021

CI can be found here: ament/ament_index#69 (comment)

@audrow audrow merged commit 72cd9fb into ros2:master Jun 4, 2021
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.

3 participants