diff --git a/basice2e/e2eReport.py b/basice2e/e2eReport.py index 5f4f9e28be10657ea9a0291a1c01d061544d788f..806e984777649e0af514fb85143121522523ae4b 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')