Mercurial > repos > cathywise > truststore_browse_testing
comparison TrustStoreGalaxyBrowse.py @ 32:20c1d4fa4084
More verbose.
author | Catherine Wise <catherine.wise@csiro.au> |
---|---|
date | Mon, 18 May 2015 12:48:57 +1000 |
parents | e4c13ce69e25 |
children | c404b570013b |
comparison
equal
deleted
inserted
replaced
31:e4c13ce69e25 | 32:20c1d4fa4084 |
---|---|
158 sys.exit(2) | 158 sys.exit(2) |
159 root = truststore.listDirectory(store) | 159 root = truststore.listDirectory(store) |
160 | 160 |
161 first = True | 161 first = True |
162 | 162 |
163 print("Preparing the following for downloading: " + str(paths)) | |
164 | |
163 if root is not None: | 165 if root is not None: |
164 with open(metadata_path, 'wb') as metadata_file: | 166 with open(metadata_path, 'wb') as metadata_file: |
165 for path in paths: | 167 for path in paths: |
166 locations = utils.Navigation.files_at_path(root, path) | 168 locations = utils.Navigation.files_at_path(root, path) |
167 for location in locations: | 169 for location in locations: |