From a04c9700845b6beb6ce861faa0107806b49907fc Mon Sep 17 00:00:00 2001 From: Jake Taylor <jake@elixxir.io> Date: Mon, 24 May 2021 12:30:47 -0500 Subject: [PATCH] better e2ereporting --- basice2e/e2eReport.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/basice2e/e2eReport.py b/basice2e/e2eReport.py index 5f4f9e2..806e984 100644 --- a/basice2e/e2eReport.py +++ b/basice2e/e2eReport.py @@ -27,19 +27,6 @@ def find_files(): return glob.glob('{}/client*.log'.format(resultsDir)) -def read_file(path, phrases): - """Reads the lines of a file.""" - while 1: - with open(path, 'r') as file: - line = file.readline() - if not line: - break - else: - for phrase in phrases: - if phrase in line: - yield line - - def main(): log.basicConfig(format='[%(levelname)s] %(asctime)s: %(message)s', level=log.INFO, datefmt='%d-%b-%y %H:%M:%S') -- GitLab