Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support Click 8.2+ #2222

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

Merged
merged 1 commit into from
May 26, 2025
Merged

Conversation

s-t-e-v-e-n-k
Copy link
Contributor

Click 8.2 and above will now force an abort if a confirmation prompt isn't answered, rather than raising the CLIAbort that is expected. Catch this exception so that our own exceptions are raised.

Copy link
Member

@allmightyspiff allmightyspiff left a comment

Choose a reason for hiding this comment

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

Hi @s-t-e-v-e-n-k , thanks for the pull request.

If you can add this try/catch to the other usages of click.prompt in this file I'll accept the pull request.

Click 8.2 and above will now force an abort if a confirmation prompt
isn't answered, rather than raising the CLIAbort that is expected. Catch
this exception so that our own exceptions are raised.
@s-t-e-v-e-n-k
Copy link
Contributor Author

Done!

@allmightyspiff allmightyspiff mentioned this pull request May 26, 2025
@allmightyspiff allmightyspiff merged commit 590a528 into softlayer:master May 26, 2025
11 of 12 checks passed
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