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

Removed redundant code #666

Merged
merged 1 commit into from
Sep 23, 2021
Merged

Conversation

adityapande-1995
Copy link
Contributor

Removed redundant code. rclpy.task.Future.result() already raises if there's an exception.
Brought up in ros2/launch_ros#270

https://github.com/ros2/rclpy/blob/691e4fbfcb4bd4cc2a01182a7dced3105a78200b/rclpy/rclpy/task.py#L93-L94

Signed-off-by: Aditya Pande aditya050995@gmail.com

Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Copy link
Contributor

@sloretz sloretz left a comment

Choose a reason for hiding this comment

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

LGTM with green CI

@adityapande-1995
Copy link
Contributor Author

adityapande-1995 commented Sep 23, 2021

CI :
build : --packages-above-and-dependencies ros2cli
test : --packages-above ros2cli

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@adityapande-1995 adityapande-1995 merged commit 44a654c into master Sep 23, 2021
@delete-merged-branch delete-merged-branch bot deleted the aditya/future_already_raises branch September 23, 2021 22:54
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.

None yet

3 participants