diff options
author | Shubham Saini <shubham6405@gmail.com> | 2019-08-05 08:32:33 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2019-08-05 08:32:33 +0000 |
commit | 227b2d30a8675b44918f9d9ca89b24144a938215 (patch) | |
tree | 9f8e6a28724514b6fdf463a9ab2067a7ef309b72 /venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/certifi/core.py | |
parent | 842a8cfbbbdb1f92889d892e4859dbd5d40c5be8 (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.py | 37 |
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 | """ | ||
5 | certifi.py | ||
6 | ~~~~~~~~~~ | ||
7 | |||
8 | This module returns the installation location of cacert.pem. | ||
9 | """ | ||
10 | import os | ||
11 | import warnings | ||
12 | |||
13 | |||
14 | class 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 | |||
21 | def where(): | ||
22 | f = os.path.dirname(__file__) | ||
23 | |||
24 | return os.path.join(f, 'cacert.pem') | ||
25 | |||
26 | |||
27 | def 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 | |||
36 | if __name__ == '__main__': | ||
37 | print(where()) | ||