This is an automated email from the ASF dual-hosted git repository. dimuthuupe pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
commit e2edeaaa089907dae1c3343e9c706a09cd611264 Author: jfcsgthmbvnztjkcfcvjqjr <[email protected]> AuthorDate: Fri Jun 23 23:03:19 2023 -0400 format fixes --- python-cli/mft_cli/airavata_mft_cli/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-cli/mft_cli/airavata_mft_cli/bootstrap.py b/python-cli/mft_cli/airavata_mft_cli/bootstrap.py index d94b09d..0c0fbc8 100644 --- a/python-cli/mft_cli/airavata_mft_cli/bootstrap.py +++ b/python-cli/mft_cli/airavata_mft_cli/bootstrap.py @@ -30,6 +30,7 @@ import shutil import time def download_and_unarchive(url, download_path, extract_dir = os.path.join(os.path.expanduser('~'), ".mft/")): + response = requests.get(url, stream=True) file_size = int(response.headers['Content-Length']) with typer.progressbar(length=file_size) as progress: @@ -44,7 +45,6 @@ def download_and_unarchive(url, download_path, extract_dir = os.path.join(os.pat os.remove(download_path) - def restart_service(bin_path, daemon_script_name): current_dir = os.getcwd() try:
