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

Avoid attempt to write to wrong pipe object #44

Merged
merged 1 commit into from
Sep 6, 2021
Merged

Avoid attempt to write to wrong pipe object #44

merged 1 commit into from
Sep 6, 2021

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Sep 6, 2021

Do not attempt to write to pipe object unless it has a write
attribute. This should avoid a runtime error like:

AttributeError: 'int' object has no attribute 'write'

Observed while testing use inside ansible-compat.

Do not attempt to write to pipe object unless it has a write
attribute. This should avoid a runtime error like:

AttributeError: 'int' object has no attribute 'write'

Observed while testing use inside ansible-compat.
@ssbarnea ssbarnea added the bug Something isn't working label Sep 6, 2021
@ssbarnea ssbarnea changed the title Avoid attempt to write to wrong pipe Avoid attempt to write to wrong pipe object Sep 6, 2021
@ssbarnea ssbarnea merged commit 7e5b824 into main Sep 6, 2021
@ssbarnea ssbarnea deleted the fix/chore branch September 6, 2021 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant