summaryrefslogtreecommitdiff
path: root/lib/license/management/python.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-21 14:50:23 -0600
committermo khan <mo.khan@gmail.com>2020-07-22 11:14:41 -0600
commitf4ec1f1bf826654ab963d32a2d4a2588ecb91c04 (patch)
treed0273449c4569e2faffd053c4ed1287ef081a221 /lib/license/management/python.rb
parentca675527b53c2a8316c962ee1a17bc1ee1c0c156 (diff)
Combine default/custom certs in cacert
Diffstat (limited to 'lib/license/management/python.rb')
-rw-r--r--lib/license/management/python.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/license/management/python.rb b/lib/license/management/python.rb
index 740b5c4..ede792e 100644
--- a/lib/license/management/python.rb
+++ b/lib/license/management/python.rb
@@ -54,9 +54,7 @@ module License
end
def default_env
- return {} unless shell.custom_certificate_installed?
-
- { 'PIP_CERT' => ENV.fetch('PIP_CERT', shell.custom_certificate_path.to_s) }
+ { 'PIP_CERT' => ENV.fetch('PIP_CERT', shell.default_certificate_path).to_s }
end
end
end