def print_error_lines()

in assets/scripts/SilentInstaller.py [0:0]


def print_error_lines(log_file_full_path):
    # print the last 5 lines from the log file
    print_error('For more details see log file %s' % log_file_full_path)
    with open(log_file_full_path) as log_file:
        content = log_file.readlines()
        for line in content[-5:]:
            print_error(line)
    raise