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

This is related to
https://github.com/docker/docker-py/commit/42789818bed5d86b487a030e2e60b02bf0cfa284
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 <n1ngu@riseup.net>

Co-authored-by: Daniel Möller <n1ngu@riseup.net>
This commit is contained in:
Felix Fontein
2022-08-08 20:58:12 +02:00
committed by GitHub
parent bc6757d3b8
commit 1e4633a606
2 changed files with 9 additions and 4 deletions
+2
View File
@@ -0,0 +1,2 @@
minor_changes:
- "modules and plugins communicating directly with the Docker daemon - simplify use of helper function that was removed in Docker SDK for Python to find executables (https://github.com/ansible-collections/community.docker/pull/438)."