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

For Python > 2, always use shutil.which instead of custom Windows helper code #438

Merged
merged 1 commit into from
Aug 8, 2022

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

This is related to docker/docker-py@4278981 in the sense that for Python > 2, we also exclusively use shutil.which now, but we do not remove the helper function since we need it for Python 2 on Windows.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/module_utils/_api/credentials/utils.py

…per code.

This is related to
docker/docker-py@4278981
in the sense that for Python > 2, we also exclusively use shutil.which now,
but we do not remove the helper function since we need it for Python 2 on Windows.

Co-authored-by: Daniel Möller <[email protected]>
@felixfontein
Copy link
Collaborator Author

CI failure is consistent, but unrelated to this PR. I'll merge this and investigate separately.

@felixfontein felixfontein merged commit 1e4633a into ansible-collections:main Aug 8, 2022
@felixfontein felixfontein deleted the docker-py branch August 8, 2022 18:58
@felixfontein
Copy link
Collaborator Author

@briantist thanks a lot for reviewing this!

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