Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: swarm_client/third_party/requests/certs.py

Issue 69143004: Delete swarm_client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 """
5 certs.py
6 ~~~~~~~~
7
8 This module returns the preferred default CA certificate bundle.
9
10 If you are packaging Requests, e.g., for a Linux distribution or a managed
11 environment, you can change the definition of where() to return a separately
12 packaged CA bundle.
13 """
14
15 import os.path
16
17
18 def where():
19 """Return the preferred certificate bundle."""
20 # vendored bundle inside Requests
21 return os.path.join(os.path.dirname(__file__), 'cacert.pem')
22
23 if __name__ == '__main__':
24 print(where())
OLDNEW
« no previous file with comments | « swarm_client/third_party/requests/cacert.pem ('k') | swarm_client/third_party/requests/compat.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698