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 a205e4ac9f5892b776759023d99433e86cda33de Author: jfcsgthmbvnztjkcfcvjqjr <[email protected]> AuthorDate: Fri Jun 23 23:01:07 2023 -0400 format fixes --- python-cli/mft_cli/airavata_mft_cli/bootstrap.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python-cli/mft_cli/airavata_mft_cli/bootstrap.py b/python-cli/mft_cli/airavata_mft_cli/bootstrap.py index 6bb96ac..d94b09d 100644 --- a/python-cli/mft_cli/airavata_mft_cli/bootstrap.py +++ b/python-cli/mft_cli/airavata_mft_cli/bootstrap.py @@ -29,7 +29,6 @@ from sys import platform 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']) @@ -194,12 +193,11 @@ def update_mft(): def print_log(): log_file_path = os.path.join(os.path.expanduser('~'), ".mft", "Standalone-Service-0.01", "logs", "airavata.log") - log_file = open(log_file_path, "r") + log_file = open(log_file_path,"r") lines = follow_file(log_file) for line in lines: print(line) - def follow_file(file): #file.seek(0, os.SEEK_END) @@ -211,3 +209,4 @@ def follow_file(file): yield line +
