Drop the if since we want this path to have precedence over others. Closes #812
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/c1194cba Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c1194cba Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c1194cba Branch: refs/heads/trunk Commit: c1194cba9fcb2d2d148f2a68fa46d74248e1e5b7 Parents: f777da6 Author: Tomaz Muraus <[email protected]> Authored: Tue Jun 14 19:11:19 2016 +0200 Committer: Anthony Shaw <[email protected]> Committed: Fri Jun 17 16:36:56 2016 +1000 ---------------------------------------------------------------------- libcloud/security.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/c1194cba/libcloud/security.py ---------------------------------------------------------------------- diff --git a/libcloud/security.py b/libcloud/security.py index 8338a44..57465d8 100644 --- a/libcloud/security.py +++ b/libcloud/security.py @@ -76,9 +76,7 @@ else: if has_certifi and USE_CERTIFI: certifi_ca_bundle_path = certifi.where() - - if certifi_ca_bundle_path not in CA_CERTS_PATH: - CA_CERTS_PATH.insert(0, certifi_ca_bundle_path) + CA_CERTS_PATH.insert(0, certifi_ca_bundle_path) # Allow user to explicitly specify which CA bundle to use, using an environment # variable
