Mercurial > repos > cathywise > truststore_browse_testing
comparison TrustStoreGalaxyBrowse.py @ 27:901b359bb74a
We are getting closer.
| author | Catherine Wise <catherine.wise@csiro.au> | 
|---|---|
| date | Thu, 14 May 2015 15:36:42 +1000 | 
| parents | 463b024b53ff | 
| children | 157062f5c547 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 26:463b024b53ff | 27:901b359bb74a | 
|---|---|
| 141 sys.exit(5) | 141 sys.exit(5) | 
| 142 truststore.getPrivateKey('privkey.pem') | 142 truststore.getPrivateKey('privkey.pem') | 
| 143 | 143 | 
| 144 path_texts = truststore.lengthenPath(short_url) | 144 path_texts = truststore.lengthenPath(short_url) | 
| 145 if len(path_texts) < 2: | 145 if len(path_texts) < 2: | 
| 146 print("The path we got was malformed.") | 146 print("The path we got was malformed: " + str(path_texts)) | 
| 147 sys.exit(3) | 147 sys.exit(3) | 
| 148 paths = path_texts[1:] | 148 paths = path_texts[1:] | 
| 149 store_id = path_texts[0] | 149 store_id = path_texts[0] | 
| 150 | 150 | 
| 151 store = truststore.getStoreByID(store_id) | 151 store = truststore.getStoreByID(store_id) | 
