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

Remove unneeded Result during AuthenticationTest post-process #29

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

antoniotorresm
Copy link
Collaborator

This Result is incorrectly returned, since it's purpose is to detect
when total_threads == 0, but that would cause a ZeroDivisionError that
is already handled by the generic exception catching in
7b9d3e7. Because of this, the Result is
only returned when in reality there are no errors.

Signed-off-by: Antonio Torres antorres@redhat.com

This Result is incorrectly returned, since it's purpose is to detect
when total_threads == 0, but that would cause a ZeroDivisionError that
is already handled by the generic exception catching in
7b9d3e7. Because of this, the Result is
only returned when in reality there are no errors.

Signed-off-by: Antonio Torres <antorres@redhat.com>
@rcritten
Copy link
Contributor

Looks good, ack.

@rcritten rcritten merged commit 9f26e53 into freeipa:master Mar 14, 2022
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.

2 participants