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

pause action: catch more potential errors when setting up curses #73588

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

felixfontein
Copy link
Contributor

SUMMARY

In certain very constraint situations, curses.setupterm() can also raise an io.UnsupportedOperation exception: ERROR: lib/ansible/plugins/action/pause.py:47:0: traceback: UnsupportedOperation: fileno (seen in #72497).

This makes sure that that error is also handled the same as other errors.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

pause

@ansibot ansibot added affects_2.11 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Feb 12, 2021
@mattclay mattclay removed the needs_triage Needs a first human triage before being processed. label Feb 12, 2021
@mattclay mattclay merged commit ff0edca into ansible:devel Feb 12, 2021
@felixfontein felixfontein deleted the pause-fix branch February 12, 2021 21:09
@felixfontein
Copy link
Contributor Author

@mattclay thanks for reviewing and merging!

@ansible ansible locked and limited conversation to collaborators Mar 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.11 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants