Skip to content

Commit

Permalink
Fix some bugs in the download-to-cloud tool and its wrapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Aug 1, 2018
1 parent aa4f8d7 commit 82d6a80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tools/cloud/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __main__():
required=True)

args = parser.parse_args(sys.argv[1:])
download(args)
download(args.provider, args.credentials, args.bucket, args.object_label, args.filename, args.overwrite_existing)

if __name__ == "__main__":
__main__()
sys.exit(__main__())
10 changes: 5 additions & 5 deletions tools/cloud/download.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<command interpreter="python">
download.py
--provider=$provider
--credentials=credentials
--bucket=bucket
--object_label=object_label
--filename=filename
--overwrite_existing=overwrite_existing
--credentials=$credentials
--bucket=$bucket
--object_label=$object_label
--filename=$filename
--overwrite_existing=$overwrite_existing
</command>
<inputs>
<param name="provider" type="text" label="Provider" />
Expand Down

0 comments on commit 82d6a80

Please sign in to comment.