Guard creating HTTPSClientAuthHandler behind HTTPS checks (#50523)

* Guard creating HTTPSClientAuthHandler behind HTTPS checks. Fixes #50339

* linting fixup
This commit is contained in:
Matt Martz
2019-01-10 09:41:13 -06:00
committed by GitHub
parent 4790d77a58
commit 8a2d39bcb2
2 changed files with 26 additions and 23 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- Guard ``HTTPSClientAuthHandler`` under HTTPS checks, to avoid tracebacks when python is compiled without SSL support (https://github.com/ansible/ansible/issues/50339)