Mercurial > repos > cathywise > truststore_import
comparison TrustStoreGalaxyImport.py @ 25:20dc961b7949
FILES DELETE THEM UGH
| author | Catherine Wise <catherine.wise@csiro.au> |
|---|---|
| date | Tue, 14 Jan 2014 15:51:07 +1100 |
| parents | 7b1720b6acf2 |
| children | c659bd6342ae |
comparison
equal
deleted
inserted
replaced
| 24:7b1720b6acf2 | 25:20dc961b7949 |
|---|---|
| 83 gzipped_file.close() | 83 gzipped_file.close() |
| 84 | 84 |
| 85 shutil.copy(uncompressed, outputFile) | 85 shutil.copy(uncompressed, outputFile) |
| 86 try: | 86 try: |
| 87 os.remove(uncompressed) | 87 os.remove(uncompressed) |
| 88 os.remove(download) | |
| 88 except OSError: | 89 except OSError: |
| 89 pass | 90 pass |
| 90 else: | 91 else: |
| 91 shutil.copy(download, outputFile) | 92 shutil.copy(download, outputFile) |
| 92 else: | 93 else: |
