Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure suppressing urllib3 warning works correctly
On some platforms (RHEL7 using ansible) the warnings are not being suppressed. Looking into this, the try-except block failed with the error `cannot import name InsecurePlatformWarning`. So it is safer to import and filter each warning individually. This fixes ansible/ansible#20006
- Loading branch information