Mercurial > repos > iuc > data_manager_plant_tribes_scaffolds_downloader
comparison data_manager/data_manager_plant_tribes_scaffolds_download.py @ 3:5833ef61c1f8 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_plant_tribes_scaffolds_downloader commit 3b27dae566cb21e08f5915ae20e0727f7d694707
author | iuc |
---|---|
date | Fri, 17 Aug 2018 07:04:08 -0400 |
parents | 80b0bd65cbfb |
children | 93253aebaf2e |
comparison
equal
deleted
inserted
replaced
2:13c235ded82e | 3:5833ef61c1f8 |
---|---|
59 chunk = src.read(2**10) | 59 chunk = src.read(2**10) |
60 if chunk: | 60 if chunk: |
61 dst.write(chunk) | 61 dst.write(chunk) |
62 else: | 62 else: |
63 break | 63 break |
64 except Exception, e: | 64 except Exception as e: |
65 print >>sys.stderr, str(e) | 65 print >>sys.stderr, str(e) |
66 finally: | 66 finally: |
67 if src: | 67 if src: |
68 src.close() | 68 src.close() |
69 if dst: | 69 if dst: |