summaryrefslogtreecommitdiff
path: root/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/certifi/core.py
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2019-08-05 08:32:33 +0000
committerShubham Saini <shubham6405@gmail.com>2019-08-05 08:32:33 +0000
commit227b2d30a8675b44918f9d9ca89b24144a938215 (patch)
tree9f8e6a28724514b6fdf463a9ab2067a7ef309b72 /venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/certifi/core.py
parent842a8cfbbbdb1f92889d892e4859dbd5d40c5be8 (diff)
removing venv files
Diffstat (limited to 'venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/certifi/core.py')
-rw-r--r--venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/certifi/core.py37
1 files changed, 0 insertions, 37 deletions
diff --git a/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/certifi/core.py b/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/certifi/core.py
deleted file mode 100644
index 0ac5ee1..0000000
--- a/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/certifi/core.py
+++ /dev/null
@@ -1,37 +0,0 @@
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3
4"""
5certifi.py
6~~~~~~~~~~
7
8This module returns the installation location of cacert.pem.
9"""
10import os
11import warnings
12
13
14class DeprecatedBundleWarning(DeprecationWarning):
15 """
16 The weak security bundle is being deprecated. Please bother your service
17 provider to get them to stop using cross-signed roots.
18 """
19
20
21def where():
22 f = os.path.dirname(__file__)
23
24 return os.path.join(f, 'cacert.pem')
25
26
27def old_where():
28 warnings.warn(
29 "The weak security bundle has been removed. certifi.old_where() is now an alias "
30 "of certifi.where(). Please update your code to use certifi.where() instead. "
31 "certifi.old_where() will be removed in 2018.",
32 DeprecatedBundleWarning
33 )
34 return where()
35
36if __name__ == '__main__':
37 print(where())