Skip to content

Commit

Permalink
close staging file used in cloud api.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Apr 24, 2018
1 parent 907ef7b commit 5564665
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy/managers/cloud.py
Expand Up @@ -141,6 +141,7 @@ def download(self, trans, history_id, provider, container, obj, credentials):
hids.update({staging_file: output['out_data'][0][1].hid})
for d in output['out_data']:
datasets.append(d[1].dataset)
staging_file.close()
os.remove(staging_file_name)
return datasets

Expand Down

0 comments on commit 5564665

Please sign in to comment.