comparison TrustStoreGalaxyBrowse.py @ 24:f4585bf75a8a

Give up, try to update Python instead.
author Catherine Wise <catherine.wise@csiro.au>
date Thu, 14 May 2015 12:03:13 +1000
parents 10ce45af14dd
children 18fe446f2d02
comparison
equal deleted inserted replaced
23:0637a2111bc9 24:f4585bf75a8a
10 import urlparse 10 import urlparse
11 from py_ts import TrustStoreClient, utils 11 from py_ts import TrustStoreClient, utils
12 from galaxy.datatypes.checkers import util 12 from galaxy.datatypes.checkers import util
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 CLIENT_KEY = "desktop" 18 CLIENT_KEY = "desktop"
19 CLIENT_SECRET = "cpU92F1PT7VOCANjSknuCDp4DrubmujoBaF6b0miz8OpKNokEbGMHCaSFK5/lISbBmaaGVCgeADI2A39F3Hkeg==" 19 CLIENT_SECRET = "cpU92F1PT7VOCANjSknuCDp4DrubmujoBaF6b0miz8OpKNokEbGMHCaSFK5/lISbBmaaGVCgeADI2A39F3Hkeg=="
20 CHUNK_SIZE = 2**20 # 1Mb 20 CHUNK_SIZE = 2**20 # 1Mb
21 SAFE_CHARS = '.-()[]0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ' 21 SAFE_CHARS = '.-()[]0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ '