Mercurial > repos > cathywise > truststore_browse_testing
comparison TrustStoreGalaxyBrowse.py @ 26:463b024b53ff
The path was wrong. UUUUGH.
| author | Catherine Wise <catherine.wise@csiro.au> |
|---|---|
| date | Thu, 14 May 2015 15:11:03 +1000 |
| parents | 18fe446f2d02 |
| children | 901b359bb74a |
comparison
equal
deleted
inserted
replaced
| 25:18fe446f2d02 | 26:463b024b53ff |
|---|---|
| 13 | 13 |
| 14 # Tell urllib3 to use pyOpenSSL because we are on old Python stdlib. | 14 # Tell urllib3 to use pyOpenSSL because we are on old Python stdlib. |
| 15 # import urllib3.contrib.pyopenssl | 15 # import urllib3.contrib.pyopenssl |
| 16 # urllib3.contrib.pyopenssl.inject_into_urllib3() | 16 # urllib3.contrib.pyopenssl.inject_into_urllib3() |
| 17 # | 17 # |
| 18 os.environ["REQUESTS_CA_BUNDLE"] = "/etc/ssl/certs/certificates.crt" | 18 os.environ["REQUESTS_CA_BUNDLE"] = "/etc/ssl/certs/ca-certificates.crt" |
| 19 | 19 |
| 20 CLIENT_KEY = "desktop" | 20 CLIENT_KEY = "desktop" |
| 21 CLIENT_SECRET = "cpU92F1PT7VOCANjSknuCDp4DrubmujoBaF6b0miz8OpKNokEbGMHCaSFK5/lISbBmaaGVCgeADI2A39F3Hkeg==" | 21 CLIENT_SECRET = "cpU92F1PT7VOCANjSknuCDp4DrubmujoBaF6b0miz8OpKNokEbGMHCaSFK5/lISbBmaaGVCgeADI2A39F3Hkeg==" |
| 22 CHUNK_SIZE = 2**20 # 1Mb | 22 CHUNK_SIZE = 2**20 # 1Mb |
| 23 SAFE_CHARS = '.-()[]0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ' | 23 SAFE_CHARS = '.-()[]0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ' |
